voxpupuli / puppet-network

Types and providers to manage network interfaces
https://forge.puppet.com/puppet/network
Apache License 2.0
66 stars 108 forks source link

Pre/Post for redhat based system #153

Open lbeliveau opened 8 years ago

lbeliveau commented 8 years ago

Is there a plan to support pre-up, pre-down, post-up and post-down for redhat based system ?

This is straightforward to support on debian, but on redhat you need to put those scriplets in /sbin/ifup-pre-local (and equivalent for other actions/stages).

bastelfreak commented 8 years ago

I'm not aware of anybody currently developing this feature. I also couldn't find any older related issue. Are you interested in that and could contribute some code?

lbeliveau commented 8 years ago

Yeah, I was thinking about that :) We are still evaluating this aspect of network configuration with packstack and puppet. I will get back to you on this.

rski commented 8 years ago

@lbeliveau we have hacked that with a bring interface up type which is essentially a wrapper for exec 'ifup' (really late edit) I mean we in my work, not voxpupuli