1 # our puppet master role
2 class roles::puppetmaster {
5 ssh::authorized_key_collect { 'dsa_wiki_buildhost':
7 collect_tag => 'puppetmaster',
10 ssh::authorized_key_collect { 'puppetmaster':
11 target_user => 'puppet',
12 collect_tag => 'puppetmaster',
15 # we have installed a newer trapperkeeper-webserver-jetty9-clojure,
16 # cf. Debian#924005, Debian#930562
17 if versioncmp(Timestamp().strftime('%F'), '2019-12-01') <= 0 {
18 $ensure = versioncmp($::operatingsystemrelease, '10.1') <= 0 ? {
22 file { '/etc/nagios/obsolete-packages-ignore.d/trapperkeeper-webserver-jetty9-clojure':
23 content => "trapperkeeper-webserver-jetty9-clojure\n",
25 } elsif versioncmp(Timestamp().strftime('%F'), '2020-02-01') <= 0 {
26 notify {'Temporary ignore rule expired, package should be in the archive':
27 loglevel => warning, }
29 fail('Clean up roles::puppetmaster')