Re: [Puppet Users] Using facts that don't exist yet...

2014-01-31 Thread José Luis Ledesma
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

[Puppet Users] Using facts that don't exist yet...

2014-01-31 Thread Krist van Besien
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