blob: 9ca5357b2c6c4b3b5485159e56ac6b491206099a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# deploy apache as package
class apache::package inherits apache::base {
package { 'apache':
name => 'apache',
ensure => present,
}
File['vhosts_dir']{
require => Package[apache],
}
File['config_dir']{
require => Package[apache],
}
Service['apache']{
require => Package[apache],
}
File['default_apache_index']{
require => Package[apache],
}
File['modules_dir']{
require => Package[apache],
}
File['web_dir']{
require => Package[apache],
}
File['htpasswd_dir']{
require => Package[apache],
}
}
|