On 09.07.2013 14:01, Nevorotin Vadim wrote:
I need to apply three resources one immediatelly after another. It's a ifdown/ifup commands, and command to generate /etc/network/interfaces file. I need to do ifdown, then rebuild interfaces, then ifup. I try to add simple relationship, but in this case some File resources are trying to be applied between ifdown and ifup. So they can't connect to Puppet master to verify source and generate an error. How can I fix it?
In such a case it is best to put all commands into a script and run that. That also has the upside, that you can protect the complete network restart with a single refreshonly/notify pair.
Regards, David -- 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 post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.