summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/SMF.py
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-04 13:56:26 -0600
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-12-04 13:56:26 -0600
commit80087699c8449dd862f73ae4edeb949efd36cc61 (patch)
tree1bc89c256bc7f02fc02e626f2f61ad98ce6a3218 /src/lib/Bcfg2/Client/Tools/SMF.py
parent3ee3158d866170f911c2b6834f54137d13e58aa7 (diff)
downloadbcfg2-80087699c8449dd862f73ae4edeb949efd36cc61.tar.gz
bcfg2-80087699c8449dd862f73ae4edeb949efd36cc61.tar.bz2
bcfg2-80087699c8449dd862f73ae4edeb949efd36cc61.zip
doc: wrote devel docs for client tool base objects
Diffstat (limited to 'src/lib/Bcfg2/Client/Tools/SMF.py')
-rw-r--r--src/lib/Bcfg2/Client/Tools/SMF.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/Bcfg2/Client/Tools/SMF.py b/src/lib/Bcfg2/Client/Tools/SMF.py
index 43e4b3bf5..4409b40f3 100644
--- a/src/lib/Bcfg2/Client/Tools/SMF.py
+++ b/src/lib/Bcfg2/Client/Tools/SMF.py
@@ -10,9 +10,7 @@ class SMF(Bcfg2.Client.Tools.SvcTool):
"""Support for Solaris SMF Services."""
__handles__ = [('Service', 'smf')]
__execs__ = ['/usr/sbin/svcadm', '/usr/bin/svcs']
- name = 'SMF'
- __req__ = {'Service': ['name', 'status']}
- __ireq__ = {'Service': ['name', 'status', 'FMRI']}
+ __req__ = {'Service': ['name', 'status', 'FMRI']}
def get_svc_command(self, service, action):
if service.get('type') == 'lrc':
@@ -128,6 +126,6 @@ class SMF(Bcfg2.Client.Tools.SvcTool):
for svc in self.getSupportedEntries():
if svc.get("FMRI") in allsrv:
- allsrv.remove(svc.get('FMRI'))
+ allsrv.remove(svc.get('FMRI'))
return [Bcfg2.Client.XML.Element("Service", type='smf', name=name) \
for name in allsrv]