recommit for updates in build 6
This commit is contained in:
@@ -105,7 +105,55 @@
|
||||
7
|
||||
8
|
||||
9
|
||||
10</pre>
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37
|
||||
38
|
||||
39
|
||||
40
|
||||
41
|
||||
42
|
||||
43
|
||||
44
|
||||
45
|
||||
46
|
||||
47
|
||||
48
|
||||
49
|
||||
50
|
||||
51
|
||||
52
|
||||
53
|
||||
54
|
||||
55
|
||||
56
|
||||
57
|
||||
58</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 6</span>
|
||||
@@ -114,6 +162,54 @@ class php_cd::main::dirs (
|
||||
|
||||
) inherits php_cd::params {
|
||||
require php_cd::main::install
|
||||
|
||||
file { $php_lib_dir:
|
||||
ensure => directory,
|
||||
path => $php_lib_dir,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => httpd_var_lib_t,
|
||||
seluser => system_u,
|
||||
}
|
||||
|
||||
file { $php_userlib_dir:
|
||||
ensure => directory,
|
||||
path => $php_userlib_dir,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => lib_t,
|
||||
seluser => system_u,
|
||||
}
|
||||
|
||||
file { $php_phpd_dir:
|
||||
ensure => directory,
|
||||
path => $php_phpd_dir,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
}
|
||||
|
||||
file { $php_zts_dir:
|
||||
ensure => directory,
|
||||
path => $php_zts_dir,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -173,7 +173,14 @@
|
||||
27
|
||||
28
|
||||
29
|
||||
30</pre>
|
||||
30
|
||||
31
|
||||
32
|
||||
33
|
||||
34
|
||||
35
|
||||
36
|
||||
37</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 8</span>
|
||||
@@ -191,6 +198,13 @@ class php_cd::params (
|
||||
$os_name = $facts['os']['name']
|
||||
$os_release = $facts['os']['release']['major']
|
||||
|
||||
# Directories
|
||||
$php_lib_dir = '/var/lib/php'
|
||||
$php_userlib_dir = '/usr/lib64/php'
|
||||
$php_phpd_dir = '/etc/php.d'
|
||||
$php_zts_dir = '/etc/php-zts.d'
|
||||
|
||||
|
||||
# Files
|
||||
$php_ini_file = '/etc/php.ini'
|
||||
$php_ini_erb = 'php_cd/php.ini.erb'
|
||||
|
||||
Reference in New Issue
Block a user