-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start and stop containers as required to match configuration #252
Comments
We had a start at some of this in #251 and scrapped it, but some ideas which may help: In the ChangeStateScript class, have def test_deployer_is_deployer(self):
"""
``ChangeStateScript._deployer`` is an instance of :class:`Deployer`.
"""
script = ChangeStateScript()
self.assertIsInstance(script._deployer, Deployer) Also, test that some part of Deployer.change_node_configuration is used by |
Also, we found that the desired configuration should be set in parseArgs for the change-state script with Configuration.model_from_configuration |
ChangeState.main should also require a hostname (which will be the hostname of the node it is run on, covered by #19), and pass that as a parameter to Deployer.change_node_configuration |
Some of this doesn't need #251 so I will start it now. |
#251 will output objects describing necessary changes which must take place to match a given configuration. This issue covers the remaining subset of #33 which involves performing those actions.
The text was updated successfully, but these errors were encountered: