Unfortunatelly, you can't do ifdown and ifup at the same time, because 
ifdown must be executed before changing interfaces file (with old interface 
settings), and ifup - after. If ifdown executed after changing interfaces 
file, then pre-down and post-down commands from old version willn't be 
executed. Moreover, if interface is removed in new version of interfaces 
file - ifdown and even 'service networking stop' don't down it.

So, all down commands for interfaces must be before changing interfaces 
file. There is some workarounds, but all of them are not a right ways.

I think, puppet should implement some addition ability to control resource 
execution, not only before/after.

-- 
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.


Reply via email to