The simpler ruby script you gave still exhibits the same behavior. I'm sure the code in the facts I am using is correct, so I don't think it is a matter of their content. As I mentioned I have literally copied examples from the tutorial and elsewhere.
If I run facter --debug all of the facts give the same error message I give above that they were parsed but returned an empty dataset. If I run puppet agent --test then it is as if my fact did not exist. Any ideas? On Wednesday, January 8, 2014 4:40:10 PM UTC-8, Nathan Valentine wrote: > > 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/faf70d9b-d15f-4f23-a058-f2ef79189636%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
