On 5 Jan 2012, at 16:54, krish <das.srikris...@gmail.com> wrote:

> 
> Why do you have to do a || with true here?
> afaik, /apps/path/scripts/install.sh && touch
> /etc/puppet/puppet.script.done should do.. or even better use a ;
> instead of &&
> 

If install.sh fails then && will not allow touch to run, so I would have 
thought use of ; is actually required instead of &&. Touch will then always be 
executed regardless of the exit status of install.sh.

> 
>> unless      => 'test -f /etc/puppet.script.done'
> 
> Just wondering if ^ this is /etc/puppet/puppet.script.done ? :)
> 
> 
> -- 
> Srikrishna Das
> www.toonheart.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-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.
> 

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

Reply via email to