From 3a299d312f7b84904f178502aebd5410be61b7d9 Mon Sep 17 00:00:00 2001 From: daskyburner Date: Thu, 6 Jun 2019 10:56:09 +0200 Subject: Add class cachefilesd for cachefilesd-management and add class to notebooks and workstations. --- code/environments/production/manifests/site.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'code') diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp index cc25017..32ffb5f 100644 --- a/code/environments/production/manifests/site.pp +++ b/code/environments/production/manifests/site.pp @@ -119,6 +119,15 @@ class browsers { } } +class cachefilesd { +<------>exec { 'modify_cachefilesd': +<------><------>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 itzks_systems_common { package { 'itzks-systems-common': ensure => 'latest', @@ -266,6 +275,7 @@ node /workstation-.*\.intern$/ { }, } class { 'browsers': } + class { 'cachefilesd': } } # Notebooks @@ -293,6 +303,7 @@ node /notebook-.*\.intern$/ { }, } class { 'browsers': } + class { 'cachefilesd': } } # default / minimal -- cgit v1.2.3