On 10 Nov 2015, at 20:33, Arnau <[email protected]> wrote:

> Hi,
> 
> >
> > I see two possible entry points for your problem:
> >
> > 1. environment specific hiera data
> > according to your hiera.yaml file you have hieradata per environment.
> > can you please cross check that the nagios::client::selinux key is set to 
> > false in all environment default.yaml files.
> 
> The only env where it's defined is the one I'm using.

Maybe that is the reason.
Can you please have a look at the nagios::client code and check whether there 
is a default set for $selinux?

> But, in any case,if I specify the env in command line, puppet should not mix 
> data from other envs, am I wrong?

Data is hiera. Env is puppet code.
When using env in hiera, then data should not get mixed among several 
environments.
> 
> > 2. foreman providing data to modules.
> > check whether you set the selinux parameter for the nagios::client class in 
> > foreman based upon environments.
> Foreman has no parameter defined. Only the env.
OK.
> 
> What really confuses me is the fact that everything wlrks as expected once 
> the node has been rebooted. i must compare facter outputs, and anything else?
The only information the node sends to the master is: facts.
Maybe you can verify whether facts change after the reboot.

> 
> Also, i'll try to remlve all hierarchy entries except defaults.yaml, just to 
> be sure that that's the only file checked.
> 
> I've been trying to download the catalog, with no luck. If the compilation 
> fails, is there any way for downloading it anyway?
> 
> Thanks,
> Arnau
> 
> -- 
> 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/CAM69jx9VhnXR6S2J8uoosWy8bVDBGE27%2BeYSguBaa4z6BSfOiw%40mail.gmail.com.
> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9D7BBE07-8771-4A95-A33F-11F9BEC43F19%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to