From cf2719c6fef2d5f8f9613459c4d2f7a4fe69dccd Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Wed, 12 Feb 2020 21:58:53 +0100 Subject: site.pp: Fix modification of /etc/default/cachefilesd. --- code/environments/production/manifests/site.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'code') 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, -- cgit v1.2.3