added gpgme::devel class
authorvarac <varacanero@zeromail.org>
Mon, 4 Mar 2013 14:45:06 +0000 (15:45 +0100)
committervarac <varacanero@zeromail.org>
Mon, 4 Mar 2013 14:45:06 +0000 (15:45 +0100)
manifests/gpgme/devel.pp [new file with mode: 0644]

diff --git a/manifests/gpgme/devel.pp b/manifests/gpgme/devel.pp
new file mode 100644 (file)
index 0000000..2d1ebcb
--- /dev/null
@@ -0,0 +1,13 @@
+class gpg::gpgme::devel {
+  include gpg::gpgme
+
+  case $::operatingsystem {
+    debian: { $gpgme_devel = 'libgpgme11' }
+    default: { $gpgme_devel = 'libgpgme11' }
+  }
+
+  package{$gpgme_devel:
+    ensure  => installed,
+    require => Package['gpgme'],
+  }
+}