Actions
Bug #11279
closedhammer cli problems with --owner when setting owner-type to Usergroup
Difficulty:
Triaged:
Yes
Team Backlog:
Description
I'm trying to set all hosts to the owner-type Usergroup and a specifiek name usergroup with the following command:hammer host update --name host01 --owner-type Usergroup --owner foremanAdmins
This doesn't work because it tries to lookup foremanAdmins as a user which ofcourse doesn't exist.
Looking up the ID of foremanAdmins and change the command to:hammer host update --name host01 --owner-type Usergroup --owner-id 4
makes it work
Files
Updated by Joop van de Wege over 9 years ago
Forgot to add: I'm using Foreman-1.8.2 on Centos6
Updated by Dominic Cleal over 9 years ago
- Project changed from Foreman to Hammer CLI
- Category set to Foreman commands (obsolete)
Updated by Tomáš Strachota over 6 years ago
- Category changed from Foreman commands (obsolete) to Hosts
Updated by yifat makias almost 5 years ago
- Status changed from New to Assigned
- Assignee set to yifat makias
Updated by The Foreman Bot almost 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/501 added
Updated by The Foreman Bot almost 5 years ago
- Fixed in Releases hammer-cli-foreman-2.1.0 added
Updated by Anonymous almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset hammer-cli-foreman|b0d33f377b6b2248e79e7845454ae07e5c01e7be.
Actions