Recommit for updates in build 8
This commit is contained in:
@@ -139,7 +139,21 @@
|
|||||||
41
|
41
|
||||||
42
|
42
|
||||||
43
|
43
|
||||||
44</pre>
|
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/r10k/install.pp', line 6</span>
|
<pre class="code"><span class="info file"># File 'manifests/r10k/install.pp', line 6</span>
|
||||||
@@ -169,6 +183,19 @@ class puppet_cd::r10k::install (
|
|||||||
provider => gem,
|
provider => gem,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# create r10k dir
|
||||||
|
file { 'r10k_dir':
|
||||||
|
ensure => directory,
|
||||||
|
path => $pt_r10k_dir,
|
||||||
|
owner => 'root',
|
||||||
|
group => 'root',
|
||||||
|
mode => '0755',
|
||||||
|
selrange => s0,
|
||||||
|
selrole => object_r,
|
||||||
|
seltype => puppet_etc_t,
|
||||||
|
seluser => unconfined_u,
|
||||||
|
}
|
||||||
|
|
||||||
# configure r10k.yaml
|
# configure r10k.yaml
|
||||||
file { $pt_r10k_file:
|
file { $pt_r10k_file:
|
||||||
ensure => file,
|
ensure => file,
|
||||||
@@ -179,6 +206,7 @@ class puppet_cd::r10k::install (
|
|||||||
selrole => object_r,
|
selrole => object_r,
|
||||||
seltype => puppet_etc_t,
|
seltype => puppet_etc_t,
|
||||||
seluser => unconfined_u,
|
seluser => unconfined_u,
|
||||||
|
require => File['r10k_dir'],
|
||||||
content => template($pt_r10k_erb),
|
content => template($pt_r10k_erb),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user