diff options
author | Olivier Blin <dev@blino.org> | 2016-02-29 01:15:02 +0100 |
---|---|---|
committer | Olivier Blin <dev@blino.org> | 2016-02-29 01:15:02 +0100 |
commit | ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f (patch) | |
tree | ccdc1ecefebba42d3867e79ab04f152b550a6649 | |
parent | 34e9567788c82dbbc4c4a2b7e0eae227792ffe7b (diff) | |
download | puppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.tar puppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.tar.gz puppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.tar.bz2 puppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.tar.xz puppet-ec3d00ece71fb93aa8266ac5157e8c8aa5bb7e6f.zip |
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
-rw-r--r-- | modules/openldap/manifests/master.pp | 4 |
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 |