Issue #3653 has been updated by Scott Beardsley.
ya, same error.
rm /var/lib/puppet/lib/facter/meh.rb
rm: remove regular file `/var/lib/puppet/lib/facter/meh.rb'? y
puppetd -tvd
...
debug: /File[/var/lib/puppet/lib/facter/meh.rb]: Changing ensure
debug: /File[/var/lib/puppet/lib/facter/meh.rb]: 1 change(s)
debug: file_metadata supports formats: b64_zlib_yaml marshal pson raw yaml;
using pson
notice: /File[/var/lib/puppet/lib/facter/meh.rb]/ensure: content changed
'{md5}cc1a6751e8a69397a4711bf39c404542' to
'{md5}cc1a6751e8a69397a4711bf39c404542'
debug: Finishing transaction 23525920101000 with 1 changes
info: Loading downloaded plugin /var/lib/puppet/lib/facter/meh.rb
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed
to parse template syslog/syslog.conf.erb: Could not find value for 'meh' at
/etc/puppet/modules/syslog/manifests/init.pp:6 on node ic2-2.example.org
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
----------------------------------------
Bug #3653: facts from plugins not working
http://projects.puppetlabs.com/issues/3653
Author: Scott Beardsley
Status: Needs more information
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.4
Keywords: facter plugins
Branch:
I'm attempting to create a simple fact as a plugin and I'm getting strange
errors. My configuration directory structure looks like:
/etc/puppet/modules/syslog/
lib/
facter/
meh.rb
templates/
syslog.conf.erb
manifests/
init.pp
I've attached the above files and a couple logs (master.log and client.log is
the debug output from the puppetmasterd and puppetd respectively).
This bug was first reported on the puppet-users list[1].
When I run `facter --puppet|grep meh` on the client I get the correct output
but `facter|grep meh` doesn't show it.
$ facter --puppet|grep meh
meh => foo
$ facter|grep meh
$
I'm using 0.25.4 on CentOS 5.
Thanks,
Scott
-------------
[1]:
http://groups.google.com/group/puppet-users/browse_thread/thread/c7f754626bf9c65e
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.