mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add versionadded tags and absolute imports
This commit is contained in:
parent
30d8be877d
commit
e6faec5412
@ -1,7 +1,9 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
This module allows you to control the power settings of a windows minion via
|
||||
powercfg
|
||||
powercfg.
|
||||
|
||||
.. versionadded:: Beryllium
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
@ -9,12 +11,11 @@ powercfg
|
||||
salt '*' powercfg.set_disk_timeout 120 power=ac
|
||||
'''
|
||||
|
||||
# Import python libs
|
||||
# Import Python Libs
|
||||
from __future__ import absolute_import
|
||||
import re
|
||||
import logging
|
||||
|
||||
# Import salt libs
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__virtualname__ = "powercfg"
|
||||
|
@ -2,7 +2,9 @@
|
||||
'''
|
||||
|
||||
This module allows you to control the power settings of a windows minion via
|
||||
powercfg
|
||||
powercfg.
|
||||
|
||||
.. versionadded:: Beryllium
|
||||
|
||||
.. code-block:: yaml
|
||||
|
||||
@ -12,11 +14,10 @@ powercfg
|
||||
- power: dc
|
||||
'''
|
||||
|
||||
# Import python libs
|
||||
# Import Python Libs
|
||||
from __future__ import absolute_import
|
||||
import logging
|
||||
|
||||
# Import salt libs
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
__virtualname__ = "powercfg"
|
||||
|
Loading…
Reference in New Issue
Block a user