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

Allow MiqWorker.required_roles to be a lambda #15522

Merged

Conversation

agrare
Copy link
Member

@agrare agrare commented Jul 6, 2017

Allow for more complex deployment configurations allow the required_roles property of MiqWorker to be a lambda similar to MiqWorker.workers

This will allow us to change the roles for which a worker will start depending on config, for example start the MiqVimBrokerWorker for the ems_inventory role only if we aren't using a collector/persister split.

To allow for more complex deployment configurations allow the
required_roles property of MiqWorker to be a lambda
@agrare agrare force-pushed the allow_miq_worker_required_roles_lambda branch from 1e20059 to 0d1eca1 Compare July 6, 2017 20:36
@miq-bot
Copy link
Member

miq-bot commented Jul 6, 2017

Checked commit agrare@0d1eca1 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0
2 files checked, 0 offenses detected
Everything looks fine. 🍪

@chessbyte chessbyte self-assigned this Jul 6, 2017
@chessbyte chessbyte merged commit f9ca3b1 into ManageIQ:master Jul 6, 2017
@chessbyte chessbyte added this to the Sprint 64 Ending Jul 10, 2017 milestone Jul 6, 2017
@chessbyte
Copy link
Member

Nice improvement.

@agrare agrare deleted the allow_miq_worker_required_roles_lambda branch July 6, 2017 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants