And remove the file on or after 10.2
authorPeter Palfrader <peter@palfrader.org>
Thu, 26 Sep 2019 07:35:38 +0000 (09:35 +0200)
committerPeter Palfrader <peter@palfrader.org>
Thu, 26 Sep 2019 07:35:38 +0000 (09:35 +0200)
modules/roles/manifests/puppetmaster.pp

index 9886652..147340c 100644 (file)
@@ -20,6 +20,7 @@ class roles::puppetmaster {
       default => 'absent',
     }
     file { '/etc/nagios/obsolete-packages-ignore.d/trapperkeeper-webserver-jetty9-clojure':
       default => 'absent',
     }
     file { '/etc/nagios/obsolete-packages-ignore.d/trapperkeeper-webserver-jetty9-clojure':
+      ensure  => $ensure,
       content => "trapperkeeper-webserver-jetty9-clojure\n",
     }
   } elsif versioncmp(Timestamp().strftime('%F'), '2020-02-01') <= 0 {
       content => "trapperkeeper-webserver-jetty9-clojure\n",
     }
   } elsif versioncmp(Timestamp().strftime('%F'), '2020-02-01') <= 0 {