+ unless empty($xmpp) {
+ file { "$base_installation::puppet_conf_path/xmpp.yaml":
+ content => template("base_installation/puppet/xmpp.yaml.erb"),
+ require => File[$base_installation::puppet_conf_path],
+ }
+ }
+
+ unless empty($slack) {
+ file { "$base_installation::puppet_conf_path/slack.yaml":
+ content => template("base_installation/puppet/slack.yaml.erb"),
+ require => File[$base_installation::puppet_conf_path],
+ }
+ }
+
+ if file("$base_installation::puppet_conf_path/host_ldap.info", "/dev/null") != "" and
+ empty($facts["ldapvar"]) {
+ fail("LDAP was activated but facts are not available")
+ }
+