On Oct 22, 2010, at 6:09 AM, Daniel Maher wrote:

> I would like to have the following line (among others) in my 
> /etc/xinetd.d/rsync file :
> 
>  server_args = --daemon --address=<ipaddress_eth0> 
> --log-file=/var/log/rsyncd.log
> 
> To this end, i am using the camptocamp rsyncd module available from git.  
> Everything works except this line.  I thought it was, perhaps, a questions of 
> spaces (this has been discussed on the list before), but according to the 
> documentation here :
> http://projects.puppetlabs.com/projects/1/wiki/Puppet_Augeas
> 
> All that i should need to do is to enclose the space-filled value in quotes, 
> like so :
> 
> "set server_args/value '--daemon --address=$ipaddress_eth0 
> --log-file=/var/log/rsyncd.log'"

That looks more or less correct. Have you experimented with augtool to see if 
anything works there? Some quick poking around makes me think "value" won't 
work. You might need to say "value[1]" or "value[last()]" or something.

-- 
Rob McBroom
<http://www.skurfer.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-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to