From 4fa50b540353d6739e36a9045ffbcf0951878bfd Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 18 Feb 2020 10:17:35 +0100 Subject: site.pp: path fix for sed comman (in add_tjener_to_ldapconf class). --- code/environments/production/manifests/site.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/environments') 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" ], } } -- cgit v1.2.3