Hello,

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

A verbose puppetd run says this :

debug: Augeas[enable rsync service](provider=augeas): sending command 'set' with params ["/files/etc/xinetd.d/rsync/rsync/server_args/value", "--daemon --address=10.101.0.3 --log-file=/var/log/rsyncd.log"] debug: Augeas[enable rsync service](provider=augeas): Closed the augeas connection err: //rsyncd/Augeas[enable rsync service]/returns: change from need_to_run to 0 failed: Save failed with return code false notice: //xinetd/Service[xinetd]: Dependency augeas[enable rsync service] has 1 failures

I have tried many combinations of quotes, including that suggested here (though, to be clear, i don't want actual quotes to appear in the file) :
http://groups.google.com/group/puppet-users/msg/748d5036ad80dd4f

I've tried escaping the spaces and escaping the slashes in the log-file component too (just in case) - no dice.

Any ideas ?

$ rpm -qa | egrep -i "(puppet|augeas)"
augeas-libs-0.7.3-1.el5
ruby-augeas-0.3.0-1.el5
puppet-0.25.5-1.el5
augeas-0.7.3-1.el5

Thank you.


--
Daniel Maher <dma AT witbe DOT net>
"The Internet is completely over." -- Prince

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