summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-02-12 21:58:53 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-02-12 21:58:53 +0100
commitcf2719c6fef2d5f8f9613459c4d2f7a4fe69dccd (patch)
tree0f4cf9104be9b02fb5a2c80ef374e50426afaabe
parentee51485dce5ca46ee8159c35341374bd927353df (diff)
downloadpuppet.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.pp4
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,