Bug #12444
closedCan not assign multiple puppet classes to a hostgroup
Description
It's not possible to assign multiple puppet classes by name via hammer:
Multiple classes by id: ok
hammer> hostgroup update --name IDMS_Centos7 --puppet-proxy katellom01fra.sdcid.net --puppet-ca-proxy katellom01fra.sdcid.net --environment KT_IDMS_EMEA_Library_IDMS_Centos7_Common_21 --puppet-class-ids 9,24
Hostgroup updated
Single class by name: ok
hammer> hostgroup update --name IDMS_Centos7 --puppet-proxy katellom01fra.sdcid.net --puppet-ca-proxy katellom01fra.sdcid.net --environment KT_IDMS_EMEA_Library_IDMS_Centos7_Common_21 --puppet-classes access
Hostgroup updated
Multiple classes by name: fail
hammer> hostgroup update --name IDMS_Centos7 --puppet-proxy katellom01fra.sdcid.net --puppet-ca-proxy katellom01fra.sdcid.net --environment KT_IDMS_EMEA_Library_IDMS_Centos7_Common_21 --puppet-classes access,datetime
Could not update the hostgroup:
Error: one of puppetclasses not found
Updated by Dominic Cleal about 9 years ago
- Is duplicate of Bug #11880: [BUG] updating multiple puppet-classes to hostgroup via hammer fails to update the hostgroup added
Updated by Dominic Cleal about 9 years ago
- Status changed from New to Duplicate
Thanks for the report! This is being tracked under ticket #11880.