Actions
Bug #13471
closedError when updating puppet-classes for a single host
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Hammer core
Target version:
-
Description
When attempting to update the assigned puppet classes for a single host, hammer complains with "Error: one of puppetclasses not found".
Full error message:¶
$ hammer host update --id 96 --puppet-classes 'role::memcached,profile:consul'
Could not update the host:
Error: one of puppetclasses not found
I've verified that the classes do exist. The same command using class ids works perfectly fine:¶
$ hammer host update --id 96 --puppet-class-ids 773,670
Host updated
Actions