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

syncs: move sync package installation into sync scrpts

parent 62390dbc
No related branches found
No related tags found
Loading
......@@ -17,6 +17,9 @@ class su_ldap::sync_scripts (
$enable_ldap_reports = false,
) {
# install the sync scripts package first
package{ 'libstanford-ldap-sync-scripts-perl': ensure => installed }
## First, a single ketab for all this stuph
# this is the sync keytab ticket, for service/ldap-$env
$k5start_service_name = "k5start-ldap-sync-$env"
......
......@@ -3,7 +3,7 @@
#
# See also https://ikiwiki.stanford.edu/service/ldap/sync-scripts/
class s_ldap::base::syncs::ldap_sync_sugal_attributes (
class su_ldap::sync_scripts::ldap_sync_sugal_attributes (
$ensure = undef,
$ldap_master_fqdn = undef,
$env = undef,
......@@ -22,7 +22,7 @@ class s_ldap::base::syncs::ldap_sync_sugal_attributes (
## Load the package containing the ldap-sync-sugal-attributes script.
#package { 'libstanford-directory-sync-sugal-perl':
# ensure => installed,
#require => Package['slapd'],
# require => Package['slapd'],
#}
# Install the configuration file for the listener
......@@ -52,7 +52,7 @@ class s_ldap::base::syncs::ldap_sync_sugal_attributes (
require => File['/etc/ldapadmin/ldap-sync-sugal-attributes.conf'],
}
# Nah, stretch has systemd built in
# In sync_scripts.pp
## Service (listener)
# include s_ldap::base::systemd
......@@ -70,7 +70,8 @@ class s_ldap::base::syncs::ldap_sync_sugal_attributes (
ensure => $service_status,
require => [
File['/lib/systemd/system/ldap-sync-sugal-attributes.service'],
Package['libstanford-directory-sync-sugal-perl'],
# Package['libstanford-directory-sync-sugal-perl'],
Package['libstanford-ldap-sync-scripts-perl'],
],
}
......
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