facter returns fact but automated run does not [closed]

asked 2014-08-08 11:05:37 -0600

RobN gravatar image

I have a very basic fact that will either return php or default to proxy. I finally got puppet to run

# facter serverType
but when I put it into a notify:
  notify { "This is the serverType start| $serverType |end" : } 
Notice: /Stage[main]/Main/Node[bos-websndbx1.comsol.com]/Notify[This is the serverType start|  |end]/message: current_value absent, should be This is the serverType start|  |end (noop)
The way I got facter to work is add a factpath into /etc/puppetlabs/puppet/puppet.conf

edit retag flag offensive reopen merge delete

Closed for the following reason not a real question by RobN
close date 2014-08-08 11:34:38.479765