On Mon, Jun 21, 2010 at 11:40 PM, Patrick Mohr <[email protected]> wrote:

> First, quotes probably aren't needed unless the value has a space in it.
>  Second, single quotes should work fine.
>
> Anyway, here's an example that will work for something that has a space in
> it, and needs to be quoted:
>
>    augeas { "auto start tftpd" :
>        context => "/files/etc/default/tftpd-hpa",
>        changes => 'set RUN_DAEMON \'"start now"\'',
>    }
>
> Gives a line that looks like:
> RUN_DAEMON="start now"
>
> Here's why it works:
> http://osdir.com/ml/puppet-users/2009-10/msg00133.html


Bingo, problem solved, thanks :)
I had tried quite a lot of quote variations, but not this one.

Regards,

Guus

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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.

Reply via email to