summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaskyburner <bschlueter@posteo.de>2019-06-06 10:56:09 +0200
committerdaskyburner <bschlueter@posteo.de>2019-06-06 10:56:09 +0200
commit3a299d312f7b84904f178502aebd5410be61b7d9 (patch)
tree9f79167d0952afd45f95ae52005b4b639a2526d7
parent41963c24fcf471f7825273f5b7fe18d95e35a4ca (diff)
downloadpuppet.FWSECK-3a299d312f7b84904f178502aebd5410be61b7d9.tar.gz
puppet.FWSECK-3a299d312f7b84904f178502aebd5410be61b7d9.tar.bz2
puppet.FWSECK-3a299d312f7b84904f178502aebd5410be61b7d9.zip
Add class cachefilesd for cachefilesd-management and add class to notebooks and workstations.
-rw-r--r--code/environments/production/manifests/site.pp11
1 files changed, 11 insertions, 0 deletions
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