Not with that little information.
Just add a notify { nagios contains $::nagios: } for a start, and see
whats happening.
You can also run puppet with --debug and post the relevant parts
grts
Jo
On 01/13/2014 11:55 AM, Daniel Kupfer wrote:
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 puppet-users+unsubscr...@googlegroups.com.
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.
--
Johan De Wit
Open Source Consultant
Red Hat Certified Engineer (805008667232363)
Puppet Certified Professional 2013 (PCP006)
_
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/52D3C722.7000800%40open-future.be.
For more options, visit https://groups.google.com/groups/opt_out.