Bug #14872
closedUpdating hostgroup causes classes associated with hostgroup to dissapear
Description
Working with this hostgroup:
Id: 52
Name: role-corp-dns-ext-auth
Title: role-corp-base/role-corp-dns-ext-auth
Puppet CA Proxy Id: 1
Puppet Master Proxy Id: 1
Puppetclasses:
profiles::bind
Parameters:
app => dns
Locations:
DC1
DC2
HI
MCH
Organizations:
CORP
EFOL
FHEG
Parent Id: 5
I use the following commands to update the hostgroup's puppet-ca-proxy-id and puppet-proxy-id:
jbaird@fmpr-d1-ap01:~$ hammer hostgroup update --id 52 --puppet-ca-proxy-id 6
Hostgroup updated
jbaird@fmpr-d1-ap01:~$ hammer hostgroup update --id 52 --puppet-proxy-id 7
Hostgroup updated
Following, you can see that the hostgroup no longer has 'profiles::bind' associated with it:
jbaird@fmpr-d1-ap01:~$ hammer hostgroup info --id 52
Id: 52
Name: role-corp-dns-ext-auth
Title: role-corp-base/role-corp-dns-ext-auth
Puppet CA Proxy Id: 6
Puppet Master Proxy Id:
Puppetclasses:
Parameters:
app => dns
Locations:
DC1
DC2
HI
MCH
Organizations:
CORP
EFOL
FHEG
Parent Id: 5
Files