On Wed, Oct 21, 2009 at 9:53 PM, Reno <renato.tuv...@gmail.com> wrote:
> > Yes I agree, > > for example what you will do if I want to run the touch command only > if /usr/bin/apt-get -q -q update has run without error? > > thats what require is for use require => Exec[subscribe-echo] exec { subscribe-echo: > command => "/usr/bin/apt-get -q -q update", > logoutput => false, > refreshonly => true, > subscribe => file["/etc/apt/sources.list"] > } > > exec { "touch /home/ciao": > cwd => "/home", > path => "/usr/bin:/usr/sbin:/bin" > } > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---