diff options
Diffstat (limited to 'code/environments')
-rw-r--r-- | code/environments/production/manifests/site.pp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index 99f18a3..307462c 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -183,13 +183,22 @@ class linux { } class cachefilesd { - exec { 'modify_cachefilesd': + exec { 'modify_cachefilesd_yes': command => "/bin/sed -e 's/#RUN=yes/RUN=yes/g' -i /etc/default/cachefilesd" } exec { 'ensure_cachefilesd_enabled': command => "/bin/systemctl enable cachefilesd.service" } } +class no_cachefilesd { + exec { 'modify_cachefilesd_no': + command => "/bin/sed -e 's/RUN=yes/#RUN=yes/g' -i /etc/default/cachefilesd" + } + exec { 'ensure_cachefilesd_disabled': + command => "/bin/systemctl disable cachefilesd.service" + } +} + class itzks_systems_common { package { 'itzks-systems-common': |