summaryrefslogtreecommitdiff
path: root/code/environments/production
diff options
context:
space:
mode:
Diffstat (limited to 'code/environments/production')
-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,