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

syncs: make /etc/cron.d/ldap-reports a template

parent e54abd3c
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ class su_ldap::sync_scripts::ldap_reports (
## Cron job
file { '/etc/cron.d/ldap-reports':
ensure => $ensure,
source => 'puppet:///modules/su_ldap/etc/cron.d/ldap-reports',
content => template('su_ldap/etc/cron.d/ldap-reports.erb'),
require => File["${basedir}/som-mail-forwards-non-stanford.conf"],
}
......
......@@ -2,4 +2,4 @@
#
#min hr day mon dow command
#--- -- --- --- --- --------------------------------------------------
45 06 * * 1 root k5start -f '/etc/ldapadmin/ldap-sync-prod.keytab' -U -- /usr/bin/ldap-report --conf /etc/ldap-reports/som-mail-forwards-non-stanford.conf --csv
45 06 * * 1 root k5start -f '/etc/ldapadmin/ldap-sync-<%= @env %>.keytab' -U -- /usr/bin/ldap-report --conf /etc/ldap-reports/som-mail-forwards-non-stanford.conf --csv
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