summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordaskyburner <bschlueter@posteo.de>2019-06-05 12:25:14 +0200
committerdaskyburner <bschlueter@posteo.de>2019-06-05 12:25:14 +0200
commit136317c90433f57b748465b47c7278288e6601c1 (patch)
tree7829cd67e92f34d886944b92e47ec5fe96009f9b
parentff49b6af6e6c014de22a717c0ef48d3582aa1494 (diff)
downloadpuppet.KATH-136317c90433f57b748465b47c7278288e6601c1.tar.gz
puppet.KATH-136317c90433f57b748465b47c7278288e6601c1.tar.bz2
puppet.KATH-136317c90433f57b748465b47c7278288e6601c1.zip
Add management for /etc/default/cachefilesd and cachefilesd.service.
-rw-r--r--code/environments/production/manifests/site.pp64
1 files changed, 64 insertions, 0 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp
index 988be72..903c465 100644
--- a/code/environments/production/manifests/site.pp
+++ b/code/environments/production/manifests/site.pp
@@ -265,6 +265,7 @@ node "tjener.intern" {
},
}
}
+
node "filter.intern" {
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }
@@ -369,6 +370,15 @@ node /^mw.*\.intern$/ {
},
}
class { 'browsers': }
+<------>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",
+<------>}
+#<------>exec { 'ensure_cachefilesd_runs':.
+#<------><------>command => "/bin/systemctl start cachefilesd.service",
+#<------>}
}
node /^nbw.*\.intern$/ {
@@ -391,6 +401,15 @@ node /^nbw.*\.intern$/ {
},
}
class { 'browsers': }
+<------>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",
+<------>}
+#<------>exec { 'ensure_cachefilesd_runs':.
+#<------><------>command => "/bin/systemctl start cachefilesd.service",
+#<------>}
}
node /^net.*\.intern$/ {
@@ -413,6 +432,15 @@ node /^net.*\.intern$/ {
},
}
class { 'browsers': }
+<------>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",
+<------>}
+#<------>exec { 'ensure_cachefilesd_runs':.
+#<------><------>command => "/bin/systemctl start cachefilesd.service",
+#<------>}
}
node /^snb.*\.intern$/ {
@@ -435,6 +463,15 @@ node /^snb.*\.intern$/ {
},
}
class { 'browsers': }
+<------>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",
+<------>}
+#<------>exec { 'ensure_cachefilesd_runs':.
+#<------><------>command => "/bin/systemctl start cachefilesd.service",
+#<------>}
}
node /^t410.*\.intern$/ {
@@ -457,6 +494,15 @@ node /^t410.*\.intern$/ {
},
}
class { 'browsers': }
+<------>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",
+<------>}
+#<------>exec { 'ensure_cachefilesd_runs':.
+#<------><------>command => "/bin/systemctl start cachefilesd.service",
+#<------>}
}
node /^t61.*\.intern$/ {
@@ -479,6 +525,15 @@ node /^t61.*\.intern$/ {
},
}
class { 'browsers': }
+<------>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",
+<------>}
+#<------>exec { 'ensure_cachefilesd_runs':.
+#<------><------>command => "/bin/systemctl start cachefilesd.service",
+#<------>}
}
node /^tp.*\.intern$/ {
@@ -501,6 +556,15 @@ node /^tp.*\.intern$/ {
},
}
class { 'browsers': }
+<------>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",
+<------>}
+#<------>exec { 'ensure_cachefilesd_runs':.
+#<------><------>command => "/bin/systemctl start cachefilesd.service",
+#<------>}
}