You are making external facts too complicated. More like this:

 hello.rb
 -----------
 #!/usr/bin/env ruby
 puts "hello=Hello, World!"


hello.yaml
---------------
---
hello='Hello, World!'


https://docs.puppetlabs.com/guides/custom_facts.html#external-facts


-- 
---
Nathan Valentine, Puppet Labs Professional Services
Have you seen : http://ask.puppetlabs.com , http://puppetlabs.com/learn ?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CA%2BsYer3KWFMnc1W6BfLhoO23B-uapxCEKf5Gv98r5HbDq%2Bz%2BSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to