示例#1
0
 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"
示例#2
0
    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"
示例#3
0
 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"
示例#4
0
    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"
示例#5
0
 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"
示例#6
0
    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"