Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

the property only loads when copied to puppet/property #1

Closed
swygue-zz opened this issue Apr 5, 2013 · 5 comments
Closed

the property only loads when copied to puppet/property #1

swygue-zz opened this issue Apr 5, 2013 · 5 comments

Comments

@swygue-zz
Copy link

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.

@swygue-zz
Copy link
Author

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

@adrienthebo
Copy link
Member

@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!

@adrienthebo adrienthebo reopened this Apr 5, 2013
@jcharaoui
Copy link

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).

@jcharaoui
Copy link

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.

@bastelfreak
Copy link
Member

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants