Ahhhhh....it all becomes clear. I was confused because as I understood it, if I defined the classes in hiera then puppet would just apply them. I went back through the docs and found this: http://docs.puppetlabs.com/hiera/1/puppet.html#assigning-classes-to-nodes-with-hiera-hierainclude. I changed my site.pp to use hiera_include('classes') and now it seems to be working.
Thanks for your help, apologies for the confusion. Regards, Guy On Fri, Sep 13, 2013 at 6:44 AM, jcbollinger <[email protected]>wrote: > Guy, > > On Thursday, September 12, 2013 12:02:36 PM UTC-5, I wrote: >> >> [...] >> >> Are you anywhere instructing Puppet to include the classes listed in your >> hiera data in the catalog? >> >> > > If the answer is yes, then you did not include that information with the > configs you posted. The needed declaration would normally appear in your > site manifest for the selected environment, or perhaps in a file imported > by the site manifest. For example, > > node 'mynode' { > include hiera('classes') > } > > I have a growing suspicion that your problem is in that general area, as I > don't immediately see anything wrong with the configs you posted. > > > > John > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/9kdUVvrsr18/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- Guy Knights Lead Systems Administrator <http://eastsidegamestudio.com> www.eastsidegamestudio.com [email protected] <[email protected]> -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
