Issue #22533 has been updated by David Thompson.
This was first found on 3.2.4. Yes, I can confirm that with a minimal puppet
setup this issue doesn't show.
There seems to be an interaction with puppetdb. I have the following in my
puppet.conf [main] section (on both client(s) and server):
# grep storeconfigs /etc/puppet/puppet.conf
storeconfigs = true
storeconfigs_backend = puppetdb
If I comment those two lines out, I get the proper behavior. But with puppetdb
enabled, I get the behavior reported. The clients have the following puppetdb
RPMs installed:
# rpm -qa | grep puppetdb
puppetdb-1.4.0-1.el6.noarch
puppetdb-terminus-1.4.0-1.el6.noarch
----------------------------------------
Bug #22533: facter 1.7.3/puppet 3.3.0 custom facts not available in puppet
https://projects.puppetlabs.com/issues/22533#change-97540
* Author: David Thompson
* Status: Needs More Information
* Priority: Normal
* Assignee: David Thompson
* Category: facter
* Target version:
* Affected Puppet version: 3.3.0
* Keywords:
* Branch:
----------------------------------------
Custom facts read in from /etc/facter/facts.d/* files show up in facter, but
not in puppet. Example:
<pre>
# rpm -q facter puppet
facter-1.7.3-1.el6.x86_64
puppet-3.3.0-1.el6.noarch
# cat /etc/facter/facts.d/testfact.txt
somefact=somevalue
# facter -p somefact
somevalue
# cat /tmp/notify.pp
notify { $somefact: }
# puppet apply /tmp/notify.pp
Notice: undef
Notice: /Stage[main]//Notify[undef]/message: defined 'message' as 'undef'
Notice: Finished catalog run in 0.26 seconds
</pre>
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.