Johan,

I use the puppetVar's for more then just including classes. Do you perhaps 
happen to know why the 'if' statement doesn't work?

Kind regards,
Daniel.

On Monday, January 13, 2014 10:26:02 AM UTC+1, Daniel Kupfer wrote:
>
> Hi,
> I'm migrating from puppet 2.x to 3.3.2, but i'm having trouble with the 
> puppetvar from ldap.
> In puppet 2 i could do:
>
> if $nagios {
>    include nagios
> }
>
> But in puppet 3 this does not seem to work anymore. Now i didn't set up 
> the former puppetmaster. Am i missing something?
>
> The ldap puppetnode looks like so and works with puppet 2:
>
> dn: cn=myhost.int-tp.here.local,ou=productie,ou=hosts,dc=here,dc=local
> objectClass: puppetClient
> objectClass: top
> objectClass: ipHost
> objectClass: device
> environment: productie
> ipHostNumber: 192.99.22.69
> puppetVar: ldap
> puppetVar: ntp
> puppetVar: nagios
> puppetVar: vmwaretools
> cn: myhost.int-tp.here.local
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5575e6f1-def7-4478-bcc2-1a0f69500af2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to