summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-09-26 11:19:51 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-09-26 11:19:51 +0200
commit704e13eaa566671e32ea37e4d52aa729d9031cd6 (patch)
treefa4b09617008d1f0533ad0d9022b82c419dff84f
parent06e2a1dab40b7010081e97924bd216ccc16a1602 (diff)
downloadpuppet.KATH-704e13eaa566671e32ea37e4d52aa729d9031cd6.zip
puppet.KATH-704e13eaa566671e32ea37e4d52aa729d9031cd6.tar.gz
puppet.KATH-704e13eaa566671e32ea37e4d52aa729d9031cd6.tar.bz2
site.pp: Keep web browser and Flashplayer add-ons up-to-date via Puppet.
-rw-r--r--code/environments/production/manifests/site.pp32
1 files changed, 32 insertions, 0 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp
index 6dfefc2..08f3f16 100644
--- a/code/environments/production/manifests/site.pp
+++ b/code/environments/production/manifests/site.pp
@@ -70,6 +70,29 @@ class login_manager {
}
}
+class browsers {
+ package { firefox-esr:
+ ensure => 'latest',
+ }
+ package { chromium:
+ ensure => 'latest',
+ }
+ $flashplayer_mozilla_package = $::operatingsystemrelease ? {
+ /(?i:8\..*)/ => 'hello',
+ default => 'flashplayer-mozilla',
+ }
+ package { $flashplayer_mozilla_package:
+ ensure => 'latest',
+ }
+ $flashplayer_chromium_package = $::operatingsystemrelease ? {
+ /(?i:8\..*)/ => 'hello',
+ default => 'flashplayer-chromium',
+ }
+ package { $flashplayer_chromium_package:
+ ensure => 'latest',
+ }
+}
+
class itzks_systems_common {
package { 'itzks-systems-common':
ensure => 'latest',
@@ -286,6 +309,7 @@ node "bibserv.intern" {
debdelta => 1,
},
}
+ class { 'browsers': }
}
# Notebooks in den Medienwagen
@@ -309,6 +333,7 @@ node /^mw.*\.intern$/ {
debdelta => 1,
},
}
+ class { 'browsers': }
}
node /^nbw.*\.intern$/ {
@@ -329,6 +354,7 @@ node /^nbw.*\.intern$/ {
debdelta => 1,
},
}
+ class { 'browsers': }
}
node /^net.*\.intern$/ {
@@ -349,6 +375,7 @@ node /^net.*\.intern$/ {
debdelta => 1,
},
}
+ class { 'browsers': }
}
node /^snb.*\.intern$/ {
@@ -369,6 +396,7 @@ node /^snb.*\.intern$/ {
debdelta => 1,
},
}
+ class { 'browsers': }
}
node /^t410.*\.intern$/ {
@@ -389,6 +417,7 @@ node /^t410.*\.intern$/ {
debdelta => 1,
},
}
+ class { 'browsers': }
}
node /^t61.*\.intern$/ {
@@ -409,6 +438,7 @@ node /^t61.*\.intern$/ {
debdelta => 1,
},
}
+ class { 'browsers': }
}
node /^tp.*\.intern$/ {
@@ -429,6 +459,7 @@ node /^tp.*\.intern$/ {
debdelta => 1,
},
}
+ class { 'browsers': }
}
@@ -446,5 +477,6 @@ node "default" {
download_only => 1,
debdelta => 1,
},
+ class { 'browsers': }
}
}