Hello,
I run puppet with foreman, and want to do the following:
- Initalize a network interface
- Start a service, bound to that interface.
eg:
#Start an interface for vlan 301 on interface em1
network::if::dynamic { 'em1.301':
ensure => up,
}
#Start an openstack L2 agent
class { 'neutron::agents::ovs':
local_ip => $::ipaddress_em1_301,
enable_tunneling => true,
after => Network::If::Dynamic['em1.301']
}
My problem is that the ::ipaddress_em1_301 fact doesn't exist yet the
moment the catalog gets retreived. So it throws an error. Is there a way
around this?
Krist
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/3377a441-bfd3-4b29-b700-611ebdb57f76%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.