summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Josi <josi@puzzle.ch>2008-10-15 20:13:37 +0200
committerSimon Josi <josi@puzzle.ch>2008-10-15 20:13:37 +0200
commit3ac08ee64a0c22e9c632bcd043c7f8b875a008fc (patch)
tree10a038e80cf102ffd6c99aa08f1570c3ee70ec76
parent03c2f025889a5d60ef4ddf65d158e1f17d7015cc (diff)
add mysql-gem and mysql-devel
-rw-r--r--manifests/init.pp9
-rw-r--r--manifests/mysql.pp4
2 files changed, 12 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 9316593..79c39d3 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -16,5 +16,12 @@
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
index 0000000..bed678d
--- /dev/null
+++ b/manifests/mysql.pp
@@ -0,0 +1,4 @@
+class rubygems::mysql {
+ include mysql::devel
+ rubygems::package{'mysql': }
+}