Skip to content
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

Fixes Issue #127 - Add command-line overrides #152

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ajmath
Copy link

@ajmath ajmath commented Sep 26, 2013

Fixes #127

I had to split up the configure method on PluginBase into configure and initialize. Initialize is now called in the PluginManager constructor and then after command line args are parsed, a new method is called on PluginManager which calls configure in each of the plugins. Without splitting this up, config values could be used in the configure method to populate member variables before they were overridden (i.e. plugins.blockdevice.linux).

@cloudbees-pull-request-builder

aminator-pull-requests #122 SUCCESS
This pull request looks good

@ajmath
Copy link
Author

ajmath commented Sep 26, 2013

This currently only works for plugin configurations. You can use like this aminate -b BaseAMIName -o aminator.plugins.blockdevice.linux.device_letters="g" package-name

@kvick
Copy link
Contributor

kvick commented Oct 7, 2013

@matheeeny Thanks for the PR. We're a little backlogged in reviewing/testing, but this looks pretty helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add command-line overrides
3 participants