I'm working with custom facts with facter 1.7.2. I've created a fact file
with an ntp configuration fact in it:
# grep ntp_conf /etc/facter/facts.d/myfacts.txt
v_ntp__ntp_conf=puppet:///modules/ntp/DEFAULT/ntp_conf
facter knows the fact is there:
# facter -p v_ntp__ntp_conf
puppet:///modules/ntp/DEFAULT/ntp_conf
...but puppet thinks the variable is undefined:
# cat /tmp/notify.pp
notify{$hardwaremodel:}
notify{$v_ntp__ntp_conf:}
[root@sazabi facts.d]# puppet apply /tmp/notify.pp
Notice: x86_64
Notice: /Stage[main]//Notify[x86_64]/message: defined 'message' as 'x86_64'
Notice: undef
Notice: /Stage[main]//Notify[undef]/message: defined 'message' as 'undef'
Notice: Finished catalog run in 0.28 seconds
What am I missing here? Thanks!
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users.
For more options, visit https://groups.google.com/groups/opt_out.