diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-20 11:46:08 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-20 11:46:08 -0300 |
commit | d1f83a9de838767121916452ef285acc4270d5fa (patch) | |
tree | a5a7072e2488fe211b22ff9bfa4cc9bd0508252e | |
parent | 1cca2ca13258a38330ad333e3543caf936cfbe1a (diff) | |
download | puppet-certbot-d1f83a9de838767121916452ef285acc4270d5fa.tar.gz puppet-certbot-d1f83a9de838767121916452ef285acc4270d5fa.tar.bz2 |
Ensurable state for package depending on distro version
-rw-r--r-- | manifests/init.pp | 5 |
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], } |