voxpupuli/puppet-boolean

the property only loads when copied to puppet/property

swygue-zz opened this issue · 5 comments

I'm using https://github.com/stbenjam/puppet-authconfig which requires puppet-boolean. I've loaded puppet-boolean on the puppetmaster under the modepath folder.

On the client I get this error when I run puppet agent --test.

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not autoload puppet/type/authconfig: no such file to load -- puppet/property/boolean on node server2.example.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

I end up coping the boolean.rb to /usr/lib/ruby/site_ruby/1.8/puppet/property/, now when I run puppet agent --test, it works as expected.

My puppet agent and puppetmaster are both version 3.1.0.

You can ping swygue on irc if you want to chat.

Turns on you have to run puppet agent --test --noop on the puppetmaster to get this working.

@swygue yeah, this is an ongoing nightmare. I don't think there are any other custom properties that people are distributing via pluginsync, and since you have to pluginsync the master before you compile a catalog for a node, it's bad.

I'm going to reopen this because this issue does need some sort of remediation, either with documentation or a technological fix. Thanks for taking the time to report this!

I'm having the same issue, however, running puppet agent --test on the master doesn't fix the problem. Using Puppet 2.7.23

Pluginsync is activated and working (it is copied to /var/lib/puppet/lib/puppet/property/boolean.rb).

I fixed my problem : it was a permission issue with my manifests which was propagating restrictive permissions up to $libdir, such that the puppet user could not read inside.

as per discussion in #34, I'm going to archive this module