Recommit for updates in build 7
This commit is contained in:
@@ -105,7 +105,21 @@
|
||||
7
|
||||
8
|
||||
9
|
||||
10</pre>
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20
|
||||
21
|
||||
22
|
||||
23
|
||||
24</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/files.pp', line 6</span>
|
||||
@@ -114,6 +128,20 @@ class automatic_cd::main::files (
|
||||
|
||||
) inherits automatic_cd::params {
|
||||
require automatic_cd::main::dirs
|
||||
|
||||
file { $ac_main_config:
|
||||
ensure => file,
|
||||
path => $ac_main_config,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
selrange => s0,
|
||||
selrole => object_r,
|
||||
seltype => etc_t,
|
||||
seluser => system_u,
|
||||
content => template($ac_main_config_erb),
|
||||
notify => Service[$ac_service],
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -170,7 +170,11 @@
|
||||
22
|
||||
23
|
||||
24
|
||||
25</pre>
|
||||
25
|
||||
26
|
||||
27
|
||||
28
|
||||
29</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 8</span>
|
||||
@@ -190,6 +194,10 @@ class automatic_cd::params (
|
||||
# Service
|
||||
$ac_service = 'dnf-automatic.timer'
|
||||
|
||||
# Files
|
||||
$ac_main_config = '/etc/dnf/automatic.conf'
|
||||
$ac_main_config_erb = '/automatic_cd/automatic.conf.erb'
|
||||
|
||||
# includes must be last
|
||||
include automatic_cd::main::config
|
||||
}</pre>
|
||||
|
||||
Reference in New Issue
Block a user