Skip to content

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