summaryrefslogtreecommitdiffstats
path: root/src/lib/Client
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Client')
-rw-r--r--src/lib/Client/Solaris.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/Client/Solaris.py b/src/lib/Client/Solaris.py
index a0bb01c66..78f124783 100644
--- a/src/lib/Client/Solaris.py
+++ b/src/lib/Client/Solaris.py
@@ -2,7 +2,7 @@
'''This provides bcfg2 support for Solaris'''
__revision__ = '$Revision$'
-import os, lxml.etree
+import os
from glob import glob
from os import stat, unlink
from re import compile as regcompile
@@ -91,7 +91,6 @@ class ToolsetImpl(Toolset):
self.logger.info('Failed to locate FMRI for service %s' % entry.get('name'))
return False
if entry.get('FMRI').startswith('lrc'):
- self.logger.debug("Starting lrc validation for %s" % (entry.get('name')))
filename = entry.get('FMRI').split('/')[-1]
# this is a legacy service
gname = "/etc/rc*.d/%s" % filename
@@ -103,7 +102,6 @@ class ToolsetImpl(Toolset):
else:
self.logger.debug("No service matching %s" % (entry.get("FMRI")))
return entry.get('status') == 'off'
- self.logger.debug("starting non-lrc validatiaon for %s" % (entry.get('name')))
try:
srvdata = self.saferun("/usr/bin/svcs -H -o STA %s" % entry.attrib['name'])[1][0].split()
except IndexError:
@@ -117,7 +115,6 @@ class ToolsetImpl(Toolset):
def InstallService(self, entry):
'''Install Service entry'''
- print lxml.etree.tostring(entry)
if not entry.attrib.has_key('status'):
self.logger.info('Insufficient information for Service %s; cannot Install' % entry.get('name'))
return False