Esempio n. 1
0
 def setUp(self):
     self.settings = Settings()
     self.settings.environmentdefs = {
         'any': ['localhost'],
     }
     self.settings.roledefs = {
         'role': ['localhost'],
     }
Esempio n. 2
0
 def setUp(self):
     self.settings = Settings()
     self.settings.environmentdefs = {
         "test1": ["host1", "host2", "host3"],
         "test2": ["host2", "host3"],
         "test3": []
     }
     self.settings.roledefs = {
         "role1": ["host1", "host2", "host3"],
         "role2": ["host2", "host3"],
         "role3": [],
     }
Esempio n. 3
0
 def setUp(self):
     self.settings = Settings()
     self.settings.environmentdefs = {
         "environment": ["host"],
     }
     self.settings.roledefs = {
         "role": ["host"],
     }
     self.settings.componentdefs = {
         "role": ["component"],
     }
     self.component = self.settings.for_env(
         "environment").components().next()
Esempio n. 4
0
 def setUp(self):
     self.settings = Settings()
     self.settings.environmentdefs = {
         "test1": ["host1", "host2", "host3"],
         "test2": ["host2", "host3"],
         "test3": []
     }
     self.settings.roledefs = {
         "role1": ["host1", "host2", "host3"],
         "role2": ["host2", "host3"],
         "role3": [],
     }
     self.settings.componentdefs = {
         "role1": ["comp1", "compgroup"],
         "compgroup": ["comp2", "comp3"],
     }
Esempio n. 5
0
 def setUp(self):
     self.dir_name = join(dirname(__file__), "data/default")
     self.settings = Settings()
Esempio n. 6
0
 def setUp(self):
     self.settings = Settings()