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
|
# File 'manifests/apache2/config.pp', line 1
class php::apache2::config {
file { $php::params::apache_dir:
owner => root,
group => root,
purge => true,
recurse => true,
force => true,
require => Class['php::apache2::install'],
notify => Service[$php::params::apache_service_name],
ensure => directory,
}
file { "${php::params::apache_dir}conf.d":
ensure => "../conf.d",
require => File[$php::params::apache_dir],
notify => Service[$php::params::apache_service_name],
}
file { $php::params::apache_ini:
owner => root,
group => root,
require => Class['php::apache2::install'],
notify => Service[$php::params::apache_service_name],
content => $php::apache2::apache2_ini_content,
source => $php::apache2::apache2_ini_source,
ensure => file,
}
}
|