Exemplo n.º 1
0
 def test_swift(self):
     Manifest.write_manifest(self.remote(), Manifest().generate_swift_manifest(controllers=self.nodes().controllers))
     self.validate(self.nodes().controllers[0], PUPPET_AGENT_COMMAND)
     self.do(self.nodes().storages, PUPPET_AGENT_COMMAND)
     self.do(self.nodes().storages, PUPPET_AGENT_COMMAND)
     self.validate(self.nodes().proxies[0], PUPPET_AGENT_COMMAND)
     self.validate(self.nodes().storages, PUPPET_AGENT_COMMAND)
Exemplo n.º 2
0
 def setUp(self):
     super(NovaSubClassesTestCase, self).setUp()
     Manifest.write_manifest(
         self.remote(),
         Manifest().generate_openstack_manifest(
             template=Template.full(),
             ci=self.ci(),
             controllers=self.nodes().controllers,
             proxies=self.nodes().proxies,
             quantums=self.nodes().quantums,
             quantum=True,
         ),
     )