From d1f83a9de838767121916452ef285acc4270d5fa Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 20 Jun 2016 11:46:08 -0300 Subject: Ensurable state for package depending on distro version --- manifests/init.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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], } -- cgit v1.2.3