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
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