diff options
Diffstat (limited to 'modules/blog/manifests/init.pp')
-rw-r--r-- | modules/blog/manifests/init.pp | 16 |
1 files changed, 15 insertions, 1 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 } |