slapd: listen on localhost only
authorPeter Palfrader <peter@palfrader.org>
Thu, 24 Jan 2019 12:35:21 +0000 (13:35 +0100)
committerPeter Palfrader <peter@palfrader.org>
Thu, 24 Jan 2019 12:35:23 +0000 (13:35 +0100)
modules/roles/files/sso/default-slapd
modules/roles/manifests/sso.pp

index 372b8f4..d629e82 100644 (file)
@@ -21,7 +21,7 @@ SLAPD_PIDFILE=
 # sockets.
 # Example usage:
 # SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:/// ldapi:///"
-SLAPD_SERVICES="ldap:/// ldapi:///"
+SLAPD_SERVICES="ldap://127.0.0.1:389/ ldapi:///"
 
 # If SLAPD_NO_START is set, the init script will not start or restart
 # slapd (but stop will still work).  Uncomment this if you are
index 04a7e9c..bf0e2c1 100644 (file)
@@ -21,6 +21,10 @@ class roles::sso {
                source => 'puppet:///modules/roles/sso/slapd.conf',
                notify  => Service['slapd'],
        }
+       file { '/etc/default/slapd':
+               source => 'puppet:///modules/roles/sso/default-slapd',
+               notify  => Service['slapd'],
+       }
 
 
        ssl::service { 'ftmg.sso.debian.org':