You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The environment to be updated to the latest commit in the git repository
Output log
[ben@whitefall puppet]$ mco r10k deploy environment production -C profile::puppet_server
* [ ============================================================> ] 1 / 1
whitefall.jellybean.sihnon.net:
Finished processing 1 / 1 hosts in 1951.61 ms
Any additional information you'd like to impart
I think the documentation is outdated,,or the mco application has been broken . The command does update the environment if I skip the environment argument on the commandline, e..g
mco r10k deploy production -C profile::puppet_server
The mco application should perhaps shift twice if the first shift is the literal value environment so as to get the actual environment to be updated. Or the README could just be updated to omit the environment keyword.
The text was updated successfully, but these errors were encountered:
The `mco r10k` application takes the next arg following the `deploy`
action as the environment name to be updated. The example command
in the README prefixes the environment name with the `environment`
keyword, which causes r10k to be invoked as
```bash
r10k deploy environment environment -p
```
instead of the expected environment name. Since the `environment`
environment likely does not exist, this renders the `mco r10k deploy`
command a noop.
Fixes#573
The `mco r10k` application takes the next arg following the `deploy`
action as the environment name to be updated. The example command
in the README prefixes the environment name with the `environment`
keyword, which causes r10k to be invoked as
```bash
r10k deploy environment environment -p
```
instead of the expected environment name. Since the `environment`
environment likely does not exist, this renders the `mco r10k deploy`
command a noop.
Fixes#573
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
Running the mcollective command as described in the readme to update the
production
environmentWhat are you seeing
The environment is not updated
What behaviour did you expect instead
The environment to be updated to the latest commit in the git repository
Output log
Any additional information you'd like to impart
I think the documentation is outdated,,or the mco application has been broken . The command does update the environment if I skip the
environment
argument on the commandline, e..gThe r10k mco application (https://github.com/voxpupuli/puppet-r10k/blob/master/files/mcollective/application/r10k.rb#L9) shifts the next arg off the argv stack when running in deploy mode, which is the literal keyword
environment
if the command is run per the README, rather than the actual environment name.The mco application should perhaps shift twice if the first shift is the literal value
environment
so as to get the actual environment to be updated. Or the README could just be updated to omit the environment keyword.The text was updated successfully, but these errors were encountered: