$rabbit_password = $roles::pubsub::parameters::rabbit_password
ssl::service { 'db.debian.org':
- notify => Exec['service apache2 reload'],
+ notify => [ Exec['service apache2 reload'],
+ Service['slapd'] ],
key => true,
tlsaport => [443, 389, 636],
}
ensure => present,
mode => '0440',
group => 'openldap',
- source => 'puppet:///modules/ssl/from-letsencrypt/db.debian.org.key',
+ content => inline_template('<%= File.read(scope().call_function("hiera", ["paths.letsencrypt_dir"]) + "/db.debian.org.key") %>'),
links => follow,
}
username => $::fqdn,
password => $rabbit_password
}
+
+ service { 'slapd':
+ ensure => running,
+ }
}