Re: [Puppet Users] One resource immediately after another

2013-07-09 Thread Nevorotin Vadim
Unfortunatelly, stages is absolutely useless because of strict limitations (notify between stages, only classes), and I can't use one script because of ifup|ifdown commands and interfaces file is in different modules. I have a defined type with ifup/ifdown commands for specified interface. Some

Re: [Puppet Users] One resource immediately after another

2013-07-09 Thread Erik Dalén
Putting them in a separate stage is also a possibility. On 9 July 2013 15:34, David Schmitt wrote: > 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 >

Re: [Puppet Users] One resource immediately after another

2013-07-09 Thread David Schmitt
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 cas

[Puppet Users] One resource immediately after another

2013-07-09 Thread Nevorotin Vadim
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 app