aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openldap/manifests/master.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openldap/manifests/master.pp')
-rw-r--r--modules/openldap/manifests/master.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/openldap/manifests/master.pp b/modules/openldap/manifests/master.pp
index ca1822f9..bac15a37 100644
--- a/modules/openldap/manifests/master.pp
+++ b/modules/openldap/manifests/master.pp
@@ -23,6 +23,10 @@ class openldap::master inherits openldap {
content => template('openldap/ldap.sysconfig'),
}
+ host { "ldap.${::domain}":
+ ip => '127.0.0.1',
+ }
+
if $::environment == 'test' {
# if we are in a test vm, we need to fill the directory
# with data