Skip to content
Snippets Groups Projects
Commit 752b618f authored by Linda J Laubenheimer's avatar Linda J Laubenheimer
Browse files

syncs: fix which module it pulls the files from

parent 571118c9
No related branches found
No related tags found
No related merge requests found
......@@ -45,13 +45,13 @@ class su_ldap::sync_scripts::ldap_wg_maint (
}
file { "/etc/ssl/certs/${wg_cert}.pem":
ensure => present,
source => "puppet:///modules/s_ldap/etc/ssl/certs/${wg_cert}.pem",
source => "puppet:///modules/su_ldap/etc/ssl/certs/${wg_cert}.pem",
}
## Configuration file
file { '/etc/ldapadmin/ldap-wg-maint.conf':
ensure => present,
content => template('s_ldap/etc/ldapadmin/ldap-wg-maint.conf.erb'),
content => template('su_ldap/etc/ldapadmin/ldap-wg-maint.conf.erb'),
}
# We want to reload the systemd daemon on any change to the unit
......@@ -59,7 +59,7 @@ class su_ldap::sync_scripts::ldap_wg_maint (
# to do this.
file { '/lib/systemd/system/ldap-wg-maint.service':
ensure => present,
source => 'puppet:///modules/s_ldap/lib/systemd/system/ldap-wg-maint.service',
source => 'puppet:///modules/su_ldap/lib/systemd/system/ldap-wg-maint.service',
mode => '0644',
notify => Exec['systemd-daemon-reload']
}
......@@ -75,7 +75,7 @@ class su_ldap::sync_scripts::ldap_wg_maint (
## Cron job
file { '/etc/cron.d/ldap-wg-maint':
ensure => $ensure,
source => 'puppet:///modules/s_ldap/etc/cron.d/ldap-wg-maint',
source => 'puppet:///modules/su_ldap/etc/cron.d/ldap-wg-maint',
require => File['/etc/ldapadmin/ldap-wg-maint.conf'],
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment