def __init__(self): OsObjectManager.__init__(self) # Cache this for later try: self.passdata = pwd.getpwnam('apache') except KeyError: self.passdata = pwd.getpwnam(os.getenv('USER')) self._cm = ConfigManager()
def __init__(self): OsObjectManager.__init__(self) # Cache this for later try: self.passdata = pwd.getpwnam('apache') except KeyError: self.passdata = pwd.getpwnam(os.getenv('USER')) self.hardwareProfileDbApi = HardwareProfileDbApi() self.softwareProfileDbApi = SoftwareProfileDbApi() self._nodeApi = nodeApi.NodeApi() self._cm = ConfigManager()
def __init__(self): OsObjectManager.__init__(self)
def __init__(self): OsObjectManager.__init__(self) # Use distribution version to determine whether or not to use systemd # instead of sysvinit scripts to manage services. self._use_systemctl = int(platform.dist()[1].split('.', 1)[0]) >= 7
def __init__(self): OsObjectManager.__init__(self) self._osInfo = osHelper.getOsInfo()
def __init__(self): OsObjectManager.__init__(self) self._dhcpReqRegex = re.compile( r': BOOTP\/DHCP, Request from (.[^\s]*) ')
def __init__(self): OsObjectManager.__init__(self) self._cm = ConfigManager()