add mysql-gem and mysql-devel
authorSimon Josi <josi@puzzle.ch>
Wed, 15 Oct 2008 18:13:37 +0000 (20:13 +0200)
committerSimon Josi <josi@puzzle.ch>
Wed, 15 Oct 2008 18:13:37 +0000 (20:13 +0200)
manifests/init.pp
manifests/mysql.pp [new file with mode: 0644]

index 9316593..79c39d3 100644 (file)
 import 'defines.pp'
 
 class rubygems {
-       package { rubygems: ensure => installed }
+  include rubygems::base
 }
+
+class rubygems::base {
+       package { rubygems: 
+    ensure => present
+  }
+}
+
diff --git a/manifests/mysql.pp b/manifests/mysql.pp
new file mode 100644 (file)
index 0000000..bed678d
--- /dev/null
@@ -0,0 +1,4 @@
+class rubygems::mysql {
+  include mysql::devel
+  rubygems::package{'mysql': }
+}