Add versionadded tags and absolute imports

This commit is contained in:
rallytime 2015-05-12 10:36:10 -06:00
parent 30d8be877d
commit e6faec5412
2 changed files with 10 additions and 8 deletions

View File

@ -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"

View File

@ -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"