Project

General

Profile

Actions

Bug #12444

closed

Can not assign multiple puppet classes to a hostgroup

Added by Andreas Schiermeier over 8 years ago. Updated over 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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


Related issues 1 (0 open1 closed)

Is duplicate of Hammer CLI - Bug #11880: [BUG] updating multiple puppet-classes to hostgroup via hammer fails to update the hostgroupClosedShimon Shtein09/18/2015Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Is duplicate of Bug #11880: [BUG] updating multiple puppet-classes to hostgroup via hammer fails to update the hostgroup added
Actions #2

Updated by Dominic Cleal over 8 years ago

  • Status changed from New to Duplicate

Thanks for the report! This is being tracked under ticket #11880.

Actions

Also available in: Atom PDF