On Sunday, February 2, 2014 10:54:00 AM UTC-6, Alan Castro wrote: > > Why don't you use inline_template and call a ruby function that returns > what you want? > > Or use the generate() function, which would not require translating the command into Ruby (but might require wrapping it in "bash -c")?
Do note, however, that either of these two will run the code on the master, during catalog compilation, not on the target node, and not when the catalog is applied. John -- 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/4b68a433-8087-48a0-8307-e81311641ae5%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
