recommit for updates in build 5
This commit is contained in:
@@ -105,7 +105,20 @@
|
||||
7
|
||||
8
|
||||
9
|
||||
10</pre>
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22
|
||||
23</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 6</span>
|
||||
@@ -114,6 +127,19 @@ class php_cd::main::files (
|
||||
|
||||
) inherits php_cd::params {
|
||||
require php_cd::main::dirs
|
||||
|
||||
file { $php_ini_file:
|
||||
ensure => file,
|
||||
path => $php_ini_file,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
content => template($php_ini_erb),
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -166,7 +166,14 @@
|
||||
20
|
||||
21
|
||||
22
|
||||
23</pre>
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29
|
||||
30</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 8</span>
|
||||
@@ -184,6 +191,13 @@ class php_cd::params (
|
||||
$os_name = $facts['os']['name']
|
||||
$os_release = $facts['os']['release']['major']
|
||||
|
||||
# Files
|
||||
$php_ini_file = '/etc/php.ini'
|
||||
$php_ini_erb = 'php_cd/php.ini.erb'
|
||||
|
||||
|
||||
|
||||
|
||||
# includes must be last
|
||||
include php_cd::main::config
|
||||
}</pre>
|
||||
|
||||
Reference in New Issue
Block a user