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

bolt command line: add to nodes when --nodes is passed multiple times #100

Closed
jjtoth opened this issue Oct 12, 2017 · 3 comments
Closed

Comments

@jjtoth
Copy link

jjtoth commented Oct 12, 2017

If I run this:

bolt command run --nodes=web5 --nodes=web6 'rpm -q puppet'

it only runs on the last host (or hosts given): "web6" in this case.

Motiviation is that i would use it in combination with this shell pattern:

bolt command run --nodes=web{5,6,7,8}.mydomain.edu 'echo hi, this is bolt'

or, even more likely:

bolt command run --nodes={web{5,6,7,8},elasticsearch{1,2,3}.subdomain}.mydomain.edu 'echo hi, this is bolt'

which would expand to:

bolt command run --nodes=web5.mydomain.edu --nodes=web6.mydomain.edu --nodes=web7.mydomain.edu --nodes=web8.mydomain.edu --nodes=elasticsearch1.subdomain.mydomain.edu --nodes=elasticsearch2.subdomain.mydomain.edu --nodes=elasticsearch3.subdomain.mydomain.edu 'echo hi, this is bolt'

@jjtoth
Copy link
Author

jjtoth commented Oct 12, 2017

Oops, didn't mean to close it.

@jjtoth jjtoth reopened this Oct 12, 2017
@cyberious
Copy link
Contributor

@jjtoth PR #103 was just merged to resolve this issue.

@joshcooper
Copy link
Contributor

Thanks @jjtoth. This should now be fixed (give bolt#master a try).

jjtoth added a commit to jjtoth/bolt that referenced this issue Oct 27, 2017
puppetlabs#100

Also added 60 seconds to author date to try to make it show up first.
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

No branches or pull requests

3 participants