results['heavy_exim'] = "true"
end
+ if yaml.has_key?('apache2_defaultconfig') and yaml['apache2_defaultconfig'].include?(host)
+ results['apache2_defaultconfig'] = "true"
+ end
+
ldap = LDAP::Conn.new('db.debian.org')
results['ldap'] = []
}
}
- case $apache2 {
- "true": { case $hostname {
- carver,rore,draghi,tartini,samosa,duarte,piatti: { include apache2 }
- default: {}
- } }
- default: {}
- }
+ case extractnodeinfo($nodeinfo, 'apache2_defaultconfig') {
+ "true": { include apache2 }
+ default: { }
+ }
case $hostname {
ancina,arcadelt,argento,brahms,goedel,goetz,lafayette,malo,murphy,praetorius,puccini,paer: