summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-20 11:46:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-20 11:46:08 -0300
commitd1f83a9de838767121916452ef285acc4270d5fa (patch)
treea5a7072e2488fe211b22ff9bfa4cc9bd0508252e
parent1cca2ca13258a38330ad333e3543caf936cfbe1a (diff)
downloadpuppet-certbot-d1f83a9de838767121916452ef285acc4270d5fa.tar.gz
puppet-certbot-d1f83a9de838767121916452ef285acc4270d5fa.tar.bz2
Ensurable state for package depending on distro version
-rw-r--r--manifests/init.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index a946ba8..5941ba3 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -27,7 +27,10 @@ class certbot(
}
package { $tool:
- ensure => present,
+ ensure => $::lsbdistcodename ? {
+ trusty => absent,
+ default => present,
+ },
require => File[$basedir],
}