diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-12 21:58:53 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-02-12 21:58:53 +0100 |
commit | cf2719c6fef2d5f8f9613459c4d2f7a4fe69dccd (patch) | |
tree | 0f4cf9104be9b02fb5a2c80ef374e50426afaabe | |
parent | ee51485dce5ca46ee8159c35341374bd927353df (diff) | |
download | puppet.KATH-cf2719c6fef2d5f8f9613459c4d2f7a4fe69dccd.tar.gz puppet.KATH-cf2719c6fef2d5f8f9613459c4d2f7a4fe69dccd.tar.bz2 puppet.KATH-cf2719c6fef2d5f8f9613459c4d2f7a4fe69dccd.zip |
site.pp: Fix modification of /etc/default/cachefilesd.
-rw-r--r-- | code/environments/production/manifests/site.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index 43bda37..28828fd 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -121,8 +121,8 @@ class browsers { class cachefilesd { exec { 'modify_cachefilesd': - command => "/bin/sed -e 's/#RUN=yes/RUN=yes/g' -i /etc/default/cachefilesd" - unless => "/bin/grep -E '^RUN=yes\$'", + command => "/bin/sed -e 's/#RUN=yes/RUN=yes/g' -i /etc/default/cachefilesd", + unless => "/bin/grep -E '^RUN=yes' /etc/default/cachefilesd", } service { 'cachefilesd.service': provider => systemd, |