def assemble(self, war_path): thedict = { "source" : self.source, "componentsHome" : Build.get_component_home(war_path), } install = [ ('$source/zstackagentbase', '$componentsHome/puppet/commonModules/zstackagentbase'), ] tools.substitute_copy(install, thedict) print "Completed assembling zstackcommon"
def assemble(self, war_path): thedict = { "source": self.source, "componentsHome": Build.get_component_home(war_path), } install = [ ('$source/zstackagentbase', '$componentsHome/puppet/commonModules/zstackagentbase'), ] tools.substitute_copy(install, thedict) print "Completed assembling zstackcommon"
def assemble(self, war_path): thedict = { "source" : self.source, "componentsHome" : Build.get_component_home(war_path), "egg" : self.dist_egg, } install = [ ('$source/puppet/zstacklib', '$componentsHome/puppet/commonModules/zstacklib'), ('$egg', '$componentsHome/puppet/commonModules/zstacklib/files/zstacklib.egg'), ] tools.substitute_copy(install, thedict) print "Completed assembling zstacklib"
def assemble(self, war_path): thedict = { "source": self.source, "componentsHome": Build.get_component_home(war_path), "egg": self.dist_egg, } install = [ ('$source/puppet/zstacklib', '$componentsHome/puppet/commonModules/zstacklib'), ('$egg', '$componentsHome/puppet/commonModules/zstacklib/files/zstacklib.egg' ), ] tools.substitute_copy(install, thedict) print "Completed assembling zstacklib"
def assemble(self, war_path): thedict = { "source" : self.source, "componentsHome" : Build.get_component_home(war_path), "egg" : self.dist_egg, "servicefile" : self.dist_service_file, } install = [ ('$source/puppet/kvmagent', '$componentsHome/kvmagent/puppet/kvmagent'), ('$egg', '$componentsHome/kvmagent/puppet/kvmagent/files/zstack-kvmagent.egg'), ('$servicefile', '$componentsHome/kvmagent/puppet/kvmagent/files/'), ] tools.substitute_copy(install, thedict) print "Completed assembling kvmagent"
def assemble(self, war_path): thedict = { "source": self.source, "componentsHome": Build.get_component_home(war_path), "egg": self.dist_egg, "servicefile": self.dist_service_file, } install = [ ('$source/puppet/kvmagent', '$componentsHome/kvmagent/puppet/kvmagent'), ('$egg', '$componentsHome/kvmagent/puppet/kvmagent/files/zstack-kvmagent.egg' ), ('$servicefile', '$componentsHome/kvmagent/puppet/kvmagent/files/'), ] tools.substitute_copy(install, thedict) print "Completed assembling kvmagent"