Project

General

Profile

Actions

Bug #14872

closed

Updating hostgroup causes classes associated with hostgroup to dissapear

Added by Josh Baird over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Host groups
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

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

hammerlog.txt hammerlog.txt 6.67 KB Josh Baird, 05/02/2016 11:10 AM
hammer.log hammer.log 8.33 KB Evan Powell, 12/14/2016 10:56 PM
Actions

Also available in: Atom PDF