On Tue, Aug 23, 2016 at 9:10 PM, Red Cricket <red.cricket.b...@gmail.com>
wrote:

> Maybe I am miss reading the docs but isn't the parent group suppose to be
> the production environment.
>
> https://docs.puppet.com/pe/latest/console_classes_groups_
> environment_override.html
>

For the groups that manage setting the puppet environment for nodes, yes.
For groups that set classification and data, no.


>
>
>
> On Tue, Aug 23, 2016 at 4:12 PM, Lindsey Smith <l.sm...@puppet.com> wrote:
>
>>
>>
>> On Fri, Aug 19, 2016 at 4:57 PM, John Baird <john.w.ba...@gmail.com>
>> wrote:
>>
>>> I have followed the instructions here: https://docs.puppet.com/
>>> pe/2016.2/console_classes_groups.html#creating-environment-node-groups.
>>> This states that ALL environments that are created should be a child under
>>> "production".  This makes sense because I would want it to inherit all of
>>> the default things that puppet does to nodes out of the box.
>>>
>>> When I add a node to the new environment, we shall call it
>>> "new_environment", puppet runs fine.
>>>
>>> I then create a "node classification group" under "new_environment".
>>> The existence of the group is not the issue until I assign the node to the
>>> "node classification group".  Puppet then complains about conflicts.
>>>
>>
>> You need to move your node classification group to not be a child of the
>> Production environment group. Reason being, management of environment
>> assignment and class/data assignment have to be in separate branches of the
>> hierarchy. For example:
>>
>> ─── All Nodes
>>     ├── Production environment
>>     │   ├── new_environment
>>     │   └── some_other_environment
>>     └── classes_go_here
>>         ├── more_specific_overrides_go_here
>>         └── or_here
>>
>>
>>>
>>> I really haven't modified much for there to even be conflicts.  This
>>> seems like normal SOP and yet it's not resolving itself.
>>>
>>> I have set the variable "environment=new_environment" in the
>>> "new_environment" environment.  There are no other classes or variables
>>> assigned.
>>>
>>> Do I need to include the two default classes from "PE Agent" and "PE
>>> Mcollective" in every environment I create??? That seems silly....
>>>
>>>
>>> *Error: Could not retrieve catalog from remote server: Error 400 on
>>> SERVER: Failed when searching for node node1: Classification of node1
>>> failed due to a classification conflict: The node was classified into
>>> groups named "new_class_group", "PE Agent", and "PE MCollective" that
>>> defined conflicting values for the environment.*
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Puppet Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to puppet-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/puppet-users/d154af21-eabc-45a5-a765-3e395ca33c66%40googlegroups.com
>>> <https://groups.google.com/d/msgid/puppet-users/d154af21-eabc-45a5-a765-3e395ca33c66%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to puppet-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/puppet-users/CAPyei8VTuDsOxQf9YUgV_8%3Dd-K0Z0AGApXqAHaPp
>> SLy%3DRcrkWA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/puppet-users/CAPyei8VTuDsOxQf9YUgV_8%3Dd-K0Z0AGApXqAHaPpSLy%3DRcrkWA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/puppet-users/CAHu%2B3OzFfeCo0p2PMgvfNZsMfrgd%
> 2BqA%3Df-bi2Qh_AATbAe%2B8tg%40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-users/CAHu%2B3OzFfeCo0p2PMgvfNZsMfrgd%2BqA%3Df-bi2Qh_AATbAe%2B8tg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAPyei8WCV5B%3DL8qU%3DZHcAqbGhD7oTob6jB16puKhPKGL%3DnXbYQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to