]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Package gnupg-curl not available on stretch
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 17:37:01 +0000 (14:37 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 11 Jul 2017 17:37:01 +0000 (14:37 -0300)
manifests/utils/security/base.pp

index 9eef9910602aefc58e4a43b489fe34fcb7c978e4..70b520d5123cdf579f787a71fc08e026748b428b 100644 (file)
@@ -3,9 +3,17 @@ class nodo::utils::security::base (
 ) {
   package { [
     'keychain',
-    'gnupg-curl',
     #'hopenpgp-tools',
   ]:
     ensure => $ensure,
   }
+
+  package { [
+    'gnupg-curl',
+  ]:
+    ensure => $::lsbdistcodename ? {
+      'jessie' => present,
+      default  => absent,
+    },
+  }
 }