blob: 3308b371cbdd92cf1e8ad66c78c55147a32f7841 (
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
30
31
32
|
# 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['include_dir']{
require => Package[apache],
}
File['web_dir']{
require => Package[apache],
}
File['htpasswd_dir']{
require => Package[apache],
}
}
|