Merge branch 'master' of bitbucket.org:tmakinen/puppet
This commit is contained in:
commit
6ce660a48a
3 changed files with 11 additions and 11 deletions
|
@ -464,7 +464,7 @@ class ldap::server {
|
|||
if $::operatinsystemrelease !~ /^5\./ {
|
||||
file { "/etc/sysconfig/ldap":
|
||||
ensure => present,
|
||||
source => "puppet:///modules/ldap/ldap.sysconfig",
|
||||
content => template("ldap/ldap.sysconfig.erb"),
|
||||
mode => "0644",
|
||||
owner => "root",
|
||||
group => "root",
|
||||
|
@ -530,7 +530,6 @@ class ldap::server {
|
|||
}
|
||||
}
|
||||
|
||||
if $::selinux == "true" {
|
||||
selinux::manage_fcontext { "/srv/ldap(/.*)?":
|
||||
type => "slapd_db_t",
|
||||
before => File["/srv/ldap"],
|
||||
|
@ -541,7 +540,6 @@ class ldap::server {
|
|||
before => File[$ldap_datadir],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
file { "${config}/schema":
|
||||
ensure => directory,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Options of slapd (see man slapd)
|
||||
SLAPD_OPTIONS="-f /etc/openldap/slapd.conf"
|
||||
SLAPD_OPTIONS="-f /etc/openldap/slapd.conf<% if @ipv6enabled == 'false' %> -4<% end %>"
|
||||
|
||||
# At least one of SLAPD_LDAP, SLAPD_LDAPI and SLAPD_LDAPS must be set to 'yes'!
|
||||
#
|
|
@ -16,7 +16,9 @@ restrict -6 default nomodify notrap nopeer noquery
|
|||
|
||||
# Local users may interrogate the ntp server more closely.
|
||||
restrict 127.0.0.1 nomodify
|
||||
<% if @ipv6enabled == "true" -%>
|
||||
restrict ::1 nomodify
|
||||
<% end -%>
|
||||
|
||||
# Drift file.
|
||||
driftfile /var/lib/ntp/ntp.drift
|
||||
|
|
Loading…
Add table
Reference in a new issue