Any raeson why not using puppetClass in ldap instead ? Then that class
will be included and is that kind of code not needed.
I assume the ldap configuration in yout puppet.conf is OK concerning the
ldap part ?
Grts
Johan
On 01/13/2014 10:26 AM, 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/5273f6d1-5f99-42c5-b9a3-eb05ced9b876%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Johan De Wit
Open Source Consultant
Red Hat Certified Engineer (805008667232363)
Puppet Certified Professional 2013 (PCP0000006)
_________________________________________________________
Open-Future Phone +32 (0)2/255 70 70
Zavelstraat 72 Fax +32 (0)2/255 70 71
3071 KORTENBERG Mobile +32 (0)474/42 40 73
BELGIUM http://www.open-future.be
_________________________________________________________
Next Events:
Puppet Fundamentals Training |
http://www.open-future.be/puppet-fundamentals-training-4-till-6th-february
Puppet Intruction Course |
http://www.open-future.be/puppet-introduction-course-7th-february
Zabbix Certified Training |
http://www.open-future.be/zabbix-certified-training-10-till-12th-february
Zabbix for Large Environments Training |
http://www.open-future.be/zabbix-large-environments-training-13-till-14th-february
Subscribe to our newsletter | http://eepurl.com/BUG8H
--
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/52D3B796.1080201%40open-future.be.
For more options, visit https://groups.google.com/groups/opt_out.