inconsitent puppet environment naming in hammer
host create/update commands use environment
# hammer host create --help | grep environment --environment ENVIRONMENT_NAME Environment name --environment-id ENVIRONMENT_ID
but host info reports puppet environment
# hammer host info --id 1 | head -n 5 Id: 1 Name: hostname.. Puppet Environment: production Puppet CA Proxy: hostname.. Puppet Master Proxy: hostname..
environment was changed to puppet environment in 6e83c9d82183f39dd4fd611698c0437409e1ee7a
#1 Updated by Tomáš Strachota almost 2 years ago
- Category set to Hosts
I agree that it would be better to name the parameters --puppet-environment instead of --environment. We should also consistently change the hostgroup command and possibly others that use --environment.
One implementation note:
When --puppet-environment is introduced, --environment should be hidden with a deprecation warning to keep backward compatibility. We can then remove it in the next version.
#7 Updated by Oleh Fedorenko 8 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|1862075e302144527bcd10845624b881fc438bc1.