Ask Your Question
0

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

asked 2015-10-27 23:13:51 -0500

cm01 gravatar image

updated 2015-10-27 23:30:16 -0500

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 flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-05-06 09:13:09 -0500

ayen gravatar image

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-10-27 23:13:51 -0500

Seen: 4,472 times

Last updated: Oct 27 '15