Exemplo n.º 1
0
 def install(self, env):
     # Import properties defined in -config.xml file from params class
     import params
     env.set_params(params)
     self.install_packages(env)
     Logger.info(format("Downloading Hue Service"))
     download_hue()
Exemplo n.º 2
0
 def install(self, env):
     config = Script.get_config()
     Logger.info("config['clusterHostInfo']: {0} ".format(
         config['clusterHostInfo']))
     # Import properties defined in -config.xml file from params class
     import params
     env.set_params(params)
     self.install_packages(env)
     Logger.info(format("Downloading Hue Service"))
     download_hue()
     Execute('mkdir -p /var/log/hue')
     Execute('chown -R hue:hue /var/log/hue')