summaryrefslogtreecommitdiffstats
path: root/func/minion/modules/reboot.py
diff options
context:
space:
mode:
authorSteve 'Ashcrow' Milner <stevem@gnulinux.net>2008-01-16 10:23:29 -0500
committerSteve 'Ashcrow' Milner <stevem@gnulinux.net>2008-01-16 10:23:29 -0500
commit0556acbe5ed39c36d38b99dd3ae455691964a1e1 (patch)
treeac87a6b65abc2032fdf685811f4c6299f59e7a7e /func/minion/modules/reboot.py
parent1420dbfbb699bbe969228173924bfa92ba7f7ce2 (diff)
downloadthird_party-func-0556acbe5ed39c36d38b99dd3ae455691964a1e1.tar.gz
third_party-func-0556acbe5ed39c36d38b99dd3ae455691964a1e1.tar.xz
third_party-func-0556acbe5ed39c36d38b99dd3ae455691964a1e1.zip
added in the desc/version/api items in the modules.
Diffstat (limited to 'func/minion/modules/reboot.py')
-rw-r--r--func/minion/modules/reboot.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/func/minion/modules/reboot.py b/func/minion/modules/reboot.py
index 0af78f9..c4fb275 100644
--- a/func/minion/modules/reboot.py
+++ b/func/minion/modules/reboot.py
@@ -13,5 +13,9 @@ import sub_process
class Reboot(func_module.FuncModule):
+ version = "0.0.1"
+ api_version = "0.0.1"
+ description = "Reboots a machine."
+
def reboot(self, when='now', message=''):
return sub_process.call(["/sbin/shutdown", '-r', when, message])