Hi y'all,
creating custom fact is great. If you need it just for testing, use
generate.
$arr = generate('/bin/ls')
Btw: the difference between exec and generate is that generate is executed
right on the beginning of Puppet run (so it will fail if it's using tool
installed later by Puppet). You
You need to rebuild Facter with Ruby 2.0 (and very probably other stuff like
Hiera & Puppet and deps).
--
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 puppet-us