I don't know which is the best solution, what I do is:
if $::factX != undef {
}
Regards
El 31/01/2014 09:57, "Krist van Besien"
escribió:
>
> Hello,
>
> I run puppet with foreman, and want to do the following:
>
>
> - Initalize a network interface
> - Start a service, bound to that inter
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
cl