On Fri, Jul 3, 2015 at 3:10 PM, R.I.Pienaar <r...@devco.net> wrote: > > I tried: > > exec{"false": before => Exec["true"]} > exec{"true": } > > This fails because before implies a requirement.
If you don't care about a failure, why not always mask it to be true? exec { '/bin/remove mystuff; /bin/true': before => Exec['carry_on_regardless'], } exec { '/bin/carry_on_regardless': } ? -- Enviatics | Automation and configuration management http://www.enviatics.com | @Enviatics Puppet Training http://www.enviatics.com/training/ -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CACxdKhFd07iWnF4p0WOhuH357yJtcfXStv7fw%2BouU4G-JAyT3Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.