Skip to content
Snippets Groups Projects
sync_scripts.pp 761 B
Newer Older
# Manage the sync scripts and their configurations.

# the reason that each one is selected seperately is that not all environments get the same sync scripts.
# while these are intended for install on the tools server,
# this is still flexible enough to put it on the master

class su_ldap::sync_scripts (
  $ldap_master_fqdn                   = undef,
  #
  $enable_ldap_wg_maint               = false,
  $enable_ldap_sync_attribute         = false,
  $enable_ldap_group_maint            = false,
  $enable_ldap_sync_sugal_attributes  = false,
  $enable_ldap_alias_maint            = false,
  $enable_posix_account_sync          = false,
) {

Adam Lewenberg's avatar
Adam Lewenberg committed
  if ($enable_ldap_wg_maint) {
    class { 'su_ldap::syncs::ldap_group_maint':
Adam Lewenberg's avatar
Adam Lewenberg committed
      ensure => present,
    }
  }