The Telnet Mars

the annex to Penguin Dust

err: Could not retrieve configuration: undefined method `findclass’ for nil:NilClass

November 30th, 2007 by joey

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:

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.