From ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Mon, 29 Feb 2016 01:15:02 +0100 Subject: openldap: make sure ldap.mageia.org gets resolved to 127.0.0.1 on master Was done manually in /etc/hosts on valstar and duvel --- modules/openldap/manifests/master.pp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/openldap') 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 -- cgit v1.2.1