Actions
Bug #13596
closedhammer: unable to remove association between hostgroup and environment
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Description
It should be possible using hammer to remove the association between a hostgroup and an environment. This is possible in the UI and causes the HG to inherit the environment from a parent HG.
Currently all validation checks fail when trying to unset this value using hammer...
- hammer hostgroup update --name db --environment-id
Could not update the hostgroup:
Error: option '--environment-id': numeric value is requiredSee: 'hammer hostgroup update --help'
- hammer hostgroup update --name db --environment ''
Could not update the hostgroup:
Error: environment not found
Updated by Martin Bacovsky about 8 years ago
- Related to Feature #15674: Implement host disassociation command added
Updated by Oleh Fedorenko over 4 years ago
- Status changed from New to Closed
- Triaged changed from No to Yes
To remove the association between a host group and an environment, please use
hammer hostgroup update --name myhostgroup --puppet-environment NIL
Actions