>
> exec { myexectest:
> path => "/bin:/usr/bin:/usr/sbin",
> cwd => "/home/user/.ssh",
> creates => "/home/user/.ssh/test.txt"
> command =>"echo test > test.txt",
> }
> <http://docs.puppetlabs.com/references/latest/type.html#exec>
> http://docs.puppetlabs.com/references/latest/type.html#exec
Do you have provider set in some default Exec -block? If not, then the
default is posix, not shell, which probably doesn't handle stream
redirection.
Cheers,
Paul
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/r3iLc56hE58J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.