aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/blog/manifests/init.pp16
-rw-r--r--modules/mysql/manifests/init.pp14
2 files changed, 15 insertions, 15 deletions
diff --git a/modules/blog/manifests/init.pp b/modules/blog/manifests/init.pp
index 1d71e250..a17e5369 100644
--- a/modules/blog/manifests/init.pp
+++ b/modules/blog/manifests/init.pp
@@ -1,6 +1,20 @@
#TODO:
# - add the creation of the user 'blog' in puppet
-class blog {
+class mysql {
+ package { 'mysql':
+ ensure => installed
+ }
+ package { 'php-mysql':
+ ensure => installed
+ }
+
+ service { mysqld:
+ ensure => running,
+ subscribe => Package["mysql"],
+ }
+}
+
+class check_new-blog-post {
package { 'wget':
ensure => installed
}
diff --git a/modules/mysql/manifests/init.pp b/modules/mysql/manifests/init.pp
deleted file mode 100644
index f75184c1..00000000
--- a/modules/mysql/manifests/init.pp
+++ /dev/null
@@ -1,14 +0,0 @@
-class mysql {
-
- package { 'mysql':
- ensure => installed
- }
- package { 'php-mysql':
- ensure => installed
- }
-
- service { mysqld:
- ensure => running,
- subscribe => Package["mysql"],
- }
-}