Re: [Puppet Users] How to store "bash command:" output in a variable as array

2013-11-25 Thread Štěpán Cenek
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

[Puppet Users] Facter on Amazon AMI with ruby2

2015-01-31 Thread Štěpán Cenek
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