John T. Guthrie
2010-10-28 18:06:08 UTC
Hello all,
While we can use generate() to get the output of a command into a puppet
manifest, it has limitations. In particular, no subshell is used to run
the command, so you can't use the pipe symbol, "|", to connect two
commands together. So how would one go about getting the output of
"command1 | command2" into a puppet variable in a manifest?
Thanks.
John Guthrie
***@limewire.com
While we can use generate() to get the output of a command into a puppet
manifest, it has limitations. In particular, no subshell is used to run
the command, so you can't use the pipe symbol, "|", to connect two
commands together. So how would one go about getting the output of
"command1 | command2" into a puppet variable in a manifest?
Thanks.
John Guthrie
***@limewire.com
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-***@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-***@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.