2009/6/17 serge.leloua...@free.fr <serge.leloua...@gmail.com> > > hi, > > I use rc-update in a pp file. The same syntax typed in ssh terminal > doesn't return anything to the standart output. > when pupeetd launch this, an syntax error is detected ! > > my pp : > > class bbRemove { > exec {"rc-update del bb && "/etc/init.d/bb stop && rm -f /etc/ > init.d/bb && rm -fR /opt/bb":logoutput => on_failure > onlyif [`test -e /etc/init.d/bbr'] > } > } > > Note that : the first time, BB was running : no problems ... > > Any idéa ? >
Could you post the relevant output of a puppetd --test from the client? I think you're also missing a comma between the logoutput and onlyif.... .r' --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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 -~----------~----~----~----~------~----~------~--~---