nate
2011-Jul-01 21:58 UTC
[Puppet Users] pluginsync fails to load custom facts or providers
possibly related to (or the same as) issues 4830 and 2244, i''m getting errors when adding a custom fact and provider to a module to propagate to clients. am i missing something here? i tried the workaround of adding a fileserver.conf to the master (referenced below and in the tickets) with no change. thanks for any help. here''s a pile of details: puppetmaster 2.6.9 is running standalone (no apache/passenger) on centos 5.5 with ruby 1.8.7 (2010-06-23 patchlevel 299) [i386-linux]). master was upgraded from possibly an earlier 2.6.x release, but it never ran 0.25.x. agent is running on os x 10.6.8, puppet 2.6.7, stock ruby 1.8.7. the custom fact and vcsrepo provider are dumped in a module''s lib dir like so: /etc/puppet/modules/growl/ |-- files | `-- tmp | `-- GROWL |-- lib | |-- facter | | `-- facter_dot_d.rb | `-- puppet | |-- provider | | |-- vcsrepo | | | |-- bzr.rb | | | |-- cvs.rb | | | |-- git.rb | | | |-- hg.rb | | | `-- svn.rb | | `-- vcsrepo.rb | `-- type | `-- vcsrepo.rb |-- manifests | `-- init.pp `-- templates init.pp basically just runs a couple of execs to pop up notifications and drops file under /tmp. it''s basically not doing much of anything. the node definition includes growl, which works fine. everything except caching the custom fact and provider works. errors on agent run: err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using ''eval_generate'': wrong header line format debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml; using pson err: /File[/var/lib/puppet/lib]: Could not evaluate: wrong header line format Could not retrieve file metadata for puppet://puppet.adullmoment.com/plugins: wrong header line format trace output: http://pastie.textmate.org/private/40kzbxn0jy3row5s1eu8nq similar to: http://projects.puppetlabs.com/issues/4830 http://groups.google.com/group/puppet-users/browse_thread/thread/ae7eecd2fab5dea6 master puppet.conf: [main] logdir = /var/log/puppet rundir = /var/run/puppet ssldir = $vardir/ssl pluginsync = true factpath = /etc/puppet/facts moduledir = /etc/puppet/modules:/var/lib/puppet/modules [agent] classfile = $vardir/classes.txt localconfig = $vardir/localconfig pluginsync = true [master] vardir = /var/lib/puppet libdir = $vardir/lib #ssldir = /etc/puppet/ssl agent puppet.conf: [main] pluginsync = true server = puppet.adullmoment.com moduledir = /etc/puppet/modules:/var/lib/puppet/modules [agent] pluginsync = true vardir = /var/lib/puppet ssldir = $vardir/ssl -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.