From: Silvio Rhatto Date: Mon, 20 Jun 2016 14:46:08 +0000 (-0300) Subject: Ensurable state for package depending on distro version X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d1f83a9de838767121916452ef285acc4270d5fa;p=puppet-certbot.git Ensurable state for package depending on distro version --- 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], }