On Wednesday, January 14, 2015 at 7:10:01 AM UTC-6, puppetrier wrote:
>
> Some success: although I haven't solved the problem with site.pp (probably 
> due to hiera configuring environment folders - that I still can't 
> troubleshoot...) things start working with a custom ENC. 
> One of the reasons why ENC didn't work the first time was a class in 
> default master modules that was always setting the node_terminus to 
> classifier.
> /opt/puppet/share/puppet/modules/puppet_enterprise/manifests/profile/master/classifier.pp
>  
>
>
> Changing node_terminus in puppet.conf to "exec" and restart puppetserver 
> had no effect as node_terminus was always changed back to classifier. Here 
> is the modified classifier.pp
>  
>   pe_ini_setting { 'node_terminus' :
>     ensure  => present,
>     path    => "${confdir}/puppet.conf",
>     section => 'master',
>     setting => 'node_terminus',
>     value   => 'exec',  # changed from classifier
>   }
>
> Note: I also changed:
>
> /opt/puppet/share/puppet/modules/puppet_enterprise/spec/classes/profile/master/classifier_spec.rb
> from:
>  it { should 
> contain_pe_ini_setting('node_terminus').with_value('classifier') }
> to:
>  it { should contain_pe_ini_setting('node_terminus').with_value('exec') }
>
> Anyway, it looks like I can move on for now, but I have to admit that 
> after spending quite a few hours on these issues I am a bit disappointed 
> with puppetlabs docs. 
> Why doesn't each chapter on "configuration" have a troubleshooting section 
> with a minimum: "if things don't work out...", "relevant log files", "how 
> to turn on debugging" ? 
>
>

Thanks for the update, and I'm glad you have had some success.  I hope you 
indeed can move on, but if you cannot get your site manifest to work then I 
anticipate other problems arising.

If you are dissatisfied with the docs then I encourage you to file an issue 
against them in PL's issue tracker.  Overall I find their docs pretty good, 
but if they didn't work out for you, for this purpose then I'm sure they 
would appreciate hearing about it.


John

-- 
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/754ee467-2e44-4ffb-b9df-1487fe5bfb86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to