puppet-network
puppet-network copied to clipboard
State: present --> absent --> present not possible
Hi!, I'm configuring a new loopback alias, the device configuration file is created, change the state to absent zeroes the file on the next run (doesn't delete it). If I want to enable that alias again (changing its state), I get this errors:
Error: Could not prefetch network_config provider 'redhat': No resource and no name in property hash in redhat instance Notice: /Stage[main]/anycast::Aliases/Setinterface[lo:1]/Network_config[lo:1]/ensure: created Error: /Network_config[lo:1]: Could not evaluate: No resource and no name in property hash in redhat instance
Deleting the empty files allows it to run again without errors
SO: RHEL6 Puppet: 3.7.1 adrien-network: 0.4.1
For info, this is the same problem shown in issue #89 along with a mod to the code as a workaround.
This should have be resolved by #90.