PE 2015.2.2 : can't add working class to env group in console

Hi,

I've created some classes at the cli, and they work in terms of installing stuff onto nodes, but I can't add them to the Prod env group using the 'classes' tab in the console I just get

Error saving group: A descendent of the group being edited makes reference to the following missing classes: "vm4" class in the "agent-specified" environment. See the details key for complete information on where each reference to a missing class originated.


Which is doubly annoying because i can't see a 'details key' anywhere - what is this; where is it ??

Also, the ' "agent-specified" environment. ' exists but has no content, so I can't see what the problem is at all.

Chris

Pt 2: ok, so now I'm REALLY confused because this https://docs.puppetlabs.com/pe/latest...classesgroupspreconfiguredgroups.html#the-agent-specified-environment-node-group says

The Production Environment Node Group

Nodes in this group will be assigned to the production environment.
Classes

You should never add any classes to this group. This group should only be used to set the production environment for matching nodes.


a) makes no sense to me
b) if(!) its correct, WHY does it have a classes tab that allows you to select a class in the first place??

I seriously need some help with the logic of the console here..

edit retag close merge delete

Sort by » oldest newest most voted

Creating a new GROUP and adding matching rule to include the necessary hosts fixed this issue. Apparently pe-puppet won't allow you to assign classification modules to the builtin groups.

more