Re: [Puppet Users] how to rescue a dependency failure and try another one?

2011-05-13 Thread Nan Liu
On Fri, May 13, 2011 at 3:59 AM, 孫 顥 xsunsm...@gmail.com wrote: I am very new to puppet. exec {apt-update: } exec {install-local: } service { apache2: require = Exec[apt-update] } when apt repository has network errors, I wanna puppet do install-local instead, and make service apache2

Re: [Puppet Users] how to rescue a dependency failure and try another one?

2011-05-13 Thread 孫 邕
Hi, I love this idea. Thank you. 2011/5/14 Nan Liu n...@puppetlabs.com On Fri, May 13, 2011 at 3:59 AM, 孫 顥 xsunsm...@gmail.com wrote: I am very new to puppet. exec {apt-update: } exec {install-local: } service { apache2: require = Exec[apt-update] } when apt repository has