On Tuesday, May 3, 2016 at 10:02:30 AM UTC-4, Lindsey Smith wrote:
>
>
>
> On Mon, May 2, 2016 at 1:54 PM, Matthew Pounsett <[email protected] 
> <javascript:>> wrote:
>
>>
>> I'm setting up a test deployment of the latest PE.  I haven't run PE for 
>> a couple of years, and it looks like a few (perhaps a lot of) things have 
>> changed.
>>
>> I have a completely fresh install of 
>> puppet-enterprise-2016.1.1-el-7-x86_64 on Centos 7.  I've added a module as 
>> /etc/puppetlabs/code/environments/production/modules/vim, and run a restart 
>> of the PE service (systemctl reload-or-restart pe-puppetserver.service).  
>>
>> However, when I try to add my new 'vim' class to the All Nodes group and 
>> Commit the change, I'm getting a (rather large) missing-referents error.  
>>
>> I've double-checked that the module file declares the class properly, and 
>> that the perms should allow the server process to read the modules.  The 
>> docs  don't seem to mention any other steps I need to follow.  Clearly I'm 
>> missing something newly added to the process though.  Anyone have any 
>> pointers?
>>
>
> I believe that you need to create a child group of All Nodes first, and 
> add the vim class to that group. There is an interaction between All Nodes 
> and assignment of environment in other groups such that you can't add 
> classes to All Nodes.
>

This appears to have been it: an issue with adding classes to the All Nodes 
group.   I found that adding a child group of All Nodes didn't have the 
anticipated effect of inheriting the list of affected nodes .. I still had 
to set my own regex match in order to pull nodes in.  But, it did the job.

Thanks!

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/3888e611-bf2e-4b50-970d-fccdfa965b35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to