diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-18 10:17:35 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-18 10:17:35 +0100 |
commit | 4fa50b540353d6739e36a9045ffbcf0951878bfd (patch) | |
tree | 128b8accb65eb1b9c83eff3b72f9e6264c385999 /code/environments | |
parent | cf2719c6fef2d5f8f9613459c4d2f7a4fe69dccd (diff) | |
download | puppet.KATH-4fa50b540353d6739e36a9045ffbcf0951878bfd.tar.gz puppet.KATH-4fa50b540353d6739e36a9045ffbcf0951878bfd.tar.bz2 puppet.KATH-4fa50b540353d6739e36a9045ffbcf0951878bfd.zip |
site.pp: path fix for sed comman (in add_tjener_to_ldapconf class).
Diffstat (limited to 'code/environments')
-rw-r--r-- | code/environments/production/manifests/site.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index 28828fd..39a7dba 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -263,7 +263,7 @@ class fsautoresizetab { class ldapconf { exec { 'add_tjener_to_ldapconf': - command => "/usr/bin/sed -i /etc/ldap/ldap.conf -e '\$ a HOST ldap.intern\\nBASE dc=skole,dc=skolelinux,dc=no\\nTLS_REQCERT demand\\nTLS_CACERT /etc/ssl/certs/debian-edu-server.crt\\n'", + command => "/bin/sed -i /etc/ldap/ldap.conf -e '\$ a HOST ldap.intern\\nBASE dc=skole,dc=skolelinux,dc=no\\nTLS_REQCERT demand\\nTLS_CACERT /etc/ssl/certs/debian-edu-server.crt\\n'", unless => [ "/bin/grep -E 'HOST ldap.intern' /etc/ldap/ldap.conf" ], } } |