recommit for updates in build 6
This commit is contained in:
@@ -105,7 +105,55 @@
|
|||||||
7
|
7
|
||||||
8
|
8
|
||||||
9
|
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>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/main/dirs.pp', line 6</span>
|
<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 {
|
) inherits php_cd::params {
|
||||||
require php_cd::main::install
|
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>
|
}</pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -173,23 +173,37 @@
|
|||||||
27
|
27
|
||||||
28
|
28
|
||||||
29
|
29
|
||||||
30</pre>
|
30
|
||||||
|
31
|
||||||
|
32
|
||||||
|
33
|
||||||
|
34
|
||||||
|
35
|
||||||
|
36
|
||||||
|
37</pre>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 8</span>
|
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 8</span>
|
||||||
|
|
||||||
class php_cd::params (
|
class php_cd::params (
|
||||||
|
|
||||||
String $reqpackages = 'php',
|
String $reqpackages = 'php',
|
||||||
String $pkg_ensure = 'latest',
|
String $pkg_ensure = 'latest',
|
||||||
|
|
||||||
) {
|
) {
|
||||||
# Facts
|
# Facts
|
||||||
|
|
||||||
$fqdn = $facts['networking']['fqdn']
|
$fqdn = $facts['networking']['fqdn']
|
||||||
$domain = $facts['networking']['domain']
|
$domain = $facts['networking']['domain']
|
||||||
$os_name = $facts['os']['name']
|
$os_name = $facts['os']['name']
|
||||||
$os_release = $facts['os']['release']['major']
|
$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
|
# Files
|
||||||
$php_ini_file = '/etc/php.ini'
|
$php_ini_file = '/etc/php.ini'
|
||||||
|
|||||||
Reference in New Issue
Block a user