summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-09-26 11:12:05 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-09-26 11:12:08 +0200
commitfc5bc30020f4a3023a3a50816420d005c420f3ee (patch)
treee093acb8861c5e362b388a76400866c02fcb7072
parent4657822c9876c99df037970adba9c50f84bc2032 (diff)
downloadpuppet.WDORF-fc5bc30020f4a3023a3a50816420d005c420f3ee.tar.gz
puppet.WDORF-fc5bc30020f4a3023a3a50816420d005c420f3ee.tar.bz2
puppet.WDORF-fc5bc30020f4a3023a3a50816420d005c420f3ee.zip
site.pp: Keep web browser and Flashplayer add-ons up-to-date via Puppet.
-rw-r--r--code/environments/production/manifests/site.pp25
1 files changed, 25 insertions, 0 deletions
diff --git a/code/environments/production/manifests/site.pp b/code/environments/production/manifests/site.pp
index ec38887..80ff8cc 100644
--- a/code/environments/production/manifests/site.pp
+++ b/code/environments/production/manifests/site.pp
@@ -72,6 +72,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',
@@ -247,10 +270,12 @@ node /notebook.*\.intern$/ {
debdelta => 1,
},
}
+ class { 'browsers': }
}
# default / minimal
node "default" {
class { 'ssh_pubkeys_admins': }
class { 'ssh_pubkeys_firedadmins': }
+ class { 'browsers': }
}