30 |
|
|
31 |
include apache::mod_php |
include apache::mod_php |
32 |
include mysql |
include mysql |
33 |
apache::vhost_other_app { "blog-test.$domain": |
|
34 |
|
$blog_location = "/var/www/html/blog.$domain" |
35 |
|
$blog_domain = "blog-test.$domain" |
36 |
|
apache::vhost_other_app { "$blog_domain": |
37 |
vhost_file => "blog/blogs_vhosts.conf", |
vhost_file => "blog/blogs_vhosts.conf", |
38 |
} |
} |
39 |
|
|
40 |
file { "/var/www/html/blog.$domain": |
file { "$blog_location": |
41 |
ensure => directory, |
ensure => directory, |
42 |
owner => blog, |
owner => blog, |
43 |
# FIXME is the group created by puppet ? |
# FIXME is the group created by puppet ? |