I'm having the strangest puppet problem I have ever seen: I'm trying to get a nrpe module working on some nodes (Ubuntu 12.04 and 14.04), but both modules I have tried, seem to think the operating system is Redhat.
To explain this a little bit better: - Facter on all these nodes reports that the osfamily is Debian, and the operatingsystem is Ubuntu, which is correct. - When I check the reported facts for the nodes on the puppetserver they are Debian and Ubuntu - When I look at the catalog that gets compiled I can see that all my other resources seem to be correct, we have some osfamily/system code that checks the os and sets up apt/yum repositories. So I know that's working correct. - When I r10k my entire environment to the nodes and run it locally with 'puppet apply' there are no problems at all. - Sometimes when I clear the environment cache, the problem will go away for the first puppet run, but all future puppet runs have the same problem. - I've checked hiera, the only paramater for nrpe is to specify our ntp server I'm running puppet 4.5.1, puppetsever 2.4.0 and puppetdb 4.1.0, we use Foreman to classify our nodes with no smart paramaters etc. The only classification it does is assign a role to a node. My only ideas are: - There's some some sort of catalog/resource cache that is getting generated with the wrong nrpe resource. AFAIK this doesn't exist? As only whole catalogs are cached on the puppetserver - Somehow puppetdb might be invloved? I know puppetdb has resources/catalogs on it. Does puppetserver use puppetdb as a cache for resources/catalogs when generating a catalog for nodes? If so is there a way to debug why it would be generating a catalog with an incorrect resource for nodes? Anyone have any ideas how to debug this? -- 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/889f44ad-1ece-4dff-a769-b91c916d4bee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.