While starting puppetd in verbose mode on my puppet test client, I got this error:
err: Could not retrieve configuration: undefined method `findclass’ for nil:NilClass
This happens when your /etc/puppet/manifests directory is empty. I had /etc/puppet/manifests set up as a symlink to /data/puppet/master/manifests on the puppetmaster, but this got overwritten when puppetmasterd started up. puppetmasterd creates /etc/puppet/manifests as a directory, blowing away the symlink. To solve this I just checked out the subversion repository to /etc/puppet/manifests, which is how I was updating /data/puppet/master/manifests anyway.
Now Playing: Everywhere I Go from the album “Faith, Hope, Love” by King’s X
Technorati Tags: puppet