recommit for updates in build 1
This commit is contained in:
@@ -69,6 +69,8 @@
|
||||
|
||||
<span class='object_link'><a href="resources_cd_3A_3Amain_3A_3Aconfig.html" title="puppet_classes::resources_cd::main::config (puppet_class)">resources_cd::main::config</a></span><br/>
|
||||
|
||||
<span class='object_link'><a href="resources_cd_3A_3Amain_3A_3Ainstall.html" title="puppet_classes::resources_cd::main::install (puppet_class)">resources_cd::main::install</a></span><br/>
|
||||
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -95,7 +97,47 @@
|
||||
|
||||
|
||||
<div class="tags">
|
||||
<p class="tag_title">Parameters:</p>
|
||||
<ul class="param">
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>reqpackages</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>$facts['os']['name']</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>which packages to install</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>pkg_ensure</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>String</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
||||
|
||||
|
||||
—
|
||||
<div class='inline'>
|
||||
<p>version to install, 'present', 'latest', 'v1.0'</p>
|
||||
</div>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
</div><div class="method_details_list">
|
||||
@@ -105,18 +147,28 @@
|
||||
<pre class="lines">
|
||||
|
||||
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11</pre>
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 6</span>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 8</span>
|
||||
|
||||
class resources_cd::params (
|
||||
|
||||
String $reqpackages = $facts['os']['name'] ? {
|
||||
'Rocky' => ['yum', 'yum-utils'],
|
||||
},
|
||||
String $pkg_ensure = 'present',
|
||||
|
||||
) {
|
||||
# includes must be last
|
||||
include resources_cd::main::config
|
||||
|
||||
Reference in New Issue
Block a user