On Wednesday, January 29, 2014 7:16:45 PM UTC-6, Doug_F wrote: > > All, > > I have a problem where I was mucking about in a Module which failed. One > of my Debian nodes I was testing it on started acting funky. Now my single > Debian node is getting some weird module activity. > Classes defined by $::kernel fact are defined properly. > Templates based off $::osfamily fact seem to fail to RedHat. I could be > that that is the first in most of my case statements but I don't know. > > I have commented out the offending module. > > I have at least 2 other debian nodes are still getting correct catalogues. > > I have tried rolling back the node to its first install and reinstalling > puppet. > I have cleaned out the Certs on both client and master. > I have restarted the Master and puppetdb. > curl localhost:8080/v3/nodes/deb-vm.part.net/facts/osfamily > ... > "name" : "osfamily", > "value" : "Debian" > ... > > Anyone know of some temp / state file on the master that may need to be > removed / fixed? If you know of other troubleshooting steps that would be > great as well. > >
The problem is more likely to be outside Puppet than inside. Something has been changed on the node so that Facter no longer computes the 'osfamily' fact correctly. That probably means it also does not compute the 'operatingsystem' fact correctly. It might be illuminating to insert one or more Notify resources into your manifests to tell you what values the problem node is actually reporting for those facts. Looking at the Facter source, however, it seems pretty likely that the problem revolves around the file /etc/debian_version having been removed from the node. 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 puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5a71d50c-7661-4aca-b5b9-ed237432f181%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.