summaryrefslogtreecommitdiffstats
path: root/func/minion
diff options
context:
space:
mode:
authorSteve 'Ashcrow' Milner <stevem@gnulinux.net>2008-01-13 14:35:45 -0500
committerSteve 'Ashcrow' Milner <stevem@gnulinux.net>2008-01-13 14:35:45 -0500
commitb77fbdd90f46b3d1602aa43e99abec096d93888e (patch)
tree9d8ac00601e056ac79f5679b88cc19bb65293190 /func/minion
parent63170952d465a8acf8355e7b346733e4f6ddcace (diff)
downloadfunc-b77fbdd90f46b3d1602aa43e99abec096d93888e.tar.gz
func-b77fbdd90f46b3d1602aa43e99abec096d93888e.tar.xz
func-b77fbdd90f46b3d1602aa43e99abec096d93888e.zip
removed a lot of misplaced shebangs.
Diffstat (limited to 'func/minion')
-rwxr-xr-xfunc/minion/codes.py3
-rwxr-xr-xfunc/minion/module_loader.py2
-rw-r--r--func/minion/modules/filetracker.py2
-rw-r--r--[-rwxr-xr-x]func/minion/modules/func_module.py2
-rw-r--r--[-rwxr-xr-x]func/minion/modules/hardware.py2
-rw-r--r--func/minion/modules/mount.py2
-rw-r--r--[-rwxr-xr-x]func/minion/modules/process.py2
-rw-r--r--[-rwxr-xr-x]func/minion/modules/reboot.py0
-rw-r--r--[-rwxr-xr-x]func/minion/modules/service.py2
-rw-r--r--[-rwxr-xr-x]func/minion/modules/smart.py2
-rw-r--r--[-rwxr-xr-x]func/minion/modules/test.py2
-rw-r--r--[-rwxr-xr-x]func/minion/modules/virt.py2
-rwxr-xr-xfunc/minion/utils.py7
13 files changed, 2 insertions, 28 deletions
diff --git a/func/minion/codes.py b/func/minion/codes.py
index 3d83668..a20c95e 100755
--- a/func/minion/codes.py
+++ b/func/minion/codes.py
@@ -1,4 +1,3 @@
-#!/usr/bin/python
"""
func
@@ -19,9 +18,11 @@ import exceptions
class FuncException(exceptions.Exception):
pass
+
class InvalidMethodException(FuncException):
pass
+
class AccessToMethodDenied(FuncException):
pass
diff --git a/func/minion/module_loader.py b/func/minion/module_loader.py
index b29f57c..611323d 100755
--- a/func/minion/module_loader.py
+++ b/func/minion/module_loader.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
## func
##
## Copyright 2007, Red Hat, Inc
diff --git a/func/minion/modules/filetracker.py b/func/minion/modules/filetracker.py
index 368b3b5..0aa4a49 100644
--- a/func/minion/modules/filetracker.py
+++ b/func/minion/modules/filetracker.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
## func
##
## filetracker
diff --git a/func/minion/modules/func_module.py b/func/minion/modules/func_module.py
index aa3c132..5965e24 100755..100644
--- a/func/minion/modules/func_module.py
+++ b/func/minion/modules/func_module.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
##
## Copyright 2007, Red Hat, Inc
## see AUTHORS
diff --git a/func/minion/modules/hardware.py b/func/minion/modules/hardware.py
index 6c44b39..acf5988 100755..100644
--- a/func/minion/modules/hardware.py
+++ b/func/minion/modules/hardware.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
##
## Hardware profiler plugin
## requires the "smolt" client package be installed
diff --git a/func/minion/modules/mount.py b/func/minion/modules/mount.py
index 01e4eab..e8e41ce 100644
--- a/func/minion/modules/mount.py
+++ b/func/minion/modules/mount.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
##
## Mount manager
##
diff --git a/func/minion/modules/process.py b/func/minion/modules/process.py
index 4659772..4c75251 100755..100644
--- a/func/minion/modules/process.py
+++ b/func/minion/modules/process.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
##
## Process lister (control TBA)
##
diff --git a/func/minion/modules/reboot.py b/func/minion/modules/reboot.py
index 8772b8f..8772b8f 100755..100644
--- a/func/minion/modules/reboot.py
+++ b/func/minion/modules/reboot.py
diff --git a/func/minion/modules/service.py b/func/minion/modules/service.py
index 3d3e4a9..d088907 100755..100644
--- a/func/minion/modules/service.py
+++ b/func/minion/modules/service.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
## func
##
## Copyright 2007, Red Hat, Inc
diff --git a/func/minion/modules/smart.py b/func/minion/modules/smart.py
index ca8f301..e85b90c 100755..100644
--- a/func/minion/modules/smart.py
+++ b/func/minion/modules/smart.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
##
## Grabs status from SMART to see if your hard drives are ok
## Returns in the format of (return code, [line1, line2, line3,...])
diff --git a/func/minion/modules/test.py b/func/minion/modules/test.py
index f900326..3a8c33e 100755..100644
--- a/func/minion/modules/test.py
+++ b/func/minion/modules/test.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
from modules import func_module
class Test(func_module.FuncModule):
diff --git a/func/minion/modules/virt.py b/func/minion/modules/virt.py
index 747ba04..ba888ec 100755..100644
--- a/func/minion/modules/virt.py
+++ b/func/minion/modules/virt.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
"""
Virt management features
diff --git a/func/minion/utils.py b/func/minion/utils.py
index 7599657..9b0c96a 100755
--- a/func/minion/utils.py
+++ b/func/minion/utils.py
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
"""
Copyright 2007, Red Hat, Inc
see AUTHORS
@@ -197,8 +195,3 @@ def get_acls_from_config(acldir='/etc/func/minion-acl.d'):
acls[host].extend(methods)
return acls
-
-
-
-
-