add package define
authorSimon Josi <josi@puzzle.ch>
Mon, 19 Apr 2010 14:55:20 +0000 (16:55 +0200)
committerSimon Josi <josi@puzzle.ch>
Mon, 19 Apr 2010 14:55:20 +0000 (16:55 +0200)
manifests/package.pp [new file with mode: 0644]

diff --git a/manifests/package.pp b/manifests/package.pp
new file mode 100644 (file)
index 0000000..84779c3
--- /dev/null
@@ -0,0 +1,9 @@
+define rubygems::package(
+    $ensure = 'present'
+) {
+    package{$name:
+        provider => gem,
+        ensure => $ensure,
+        require => Package['rubygems'],
+    }
+}