Well,
On 12/15/2011 10:39 PM, Dan White wrote:
> Thanks for the suggestions.
> tee /path/to/where-I-want-logfile-$(date +%Y%m%d-%H%M%S).log did not work.
>
> bash: syntax error near unexpected token `('
if you're not using single quotes, you shall have to escape the dollar
sign so puppet doesn'
Thanks for the suggestions.
tee /path/to/where-I-want-logfile-$(date +%Y%m%d-%H%M%S).log did not work.
bash: syntax error near unexpected token `('
I will let you know if the single quote option works.
“Sometimes I think the surest sign that intelligent life exists elsewhere in
the universe is
You could try:
tee /path/to/where-I-want-logfile-$(date +%Y%m%d-%H%M%S).log
Alternatively, since it doesn't look like you're using any puppet
variables in the command string, you could try using single quotes
(i.e. restart => '/path/ ...') so puppet won't try to interpret anything
it sees in ther