summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Client/Tools/SMF.py
diff options
context:
space:
mode:
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]