Files
confdroid_resources/doc/puppet_classes/confdroid_resources_3A_3Aparams.html
2026-02-10 15:48:06 +01:00

213 lines
4.9 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Puppet Class: confdroid_resources::params
&mdash; Documentation by YARD 0.9.36
</title>
<link rel="stylesheet" href="../css/style.css" type="text/css" />
<link rel="stylesheet" href="../css/common.css" type="text/css" />
<script type="text/javascript">
pathId = "puppet_classes::confdroid_resources::params";
relpath = '../';
</script>
<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../puppet_class_list.html?1"></iframe>
<div id="resizer"></div>
</div>
<div id="main" tabindex="-1">
<div id="header">
<div id="menu">
<a href="../_index.html">Index (c)</a> &raquo;
<span class='title'><span class='object_link'>Puppet Classes</span></span>
&raquo;
<span class="title">confdroid_resources::params</span>
</div>
<div id="search">
<a class="full_list_link" id="puppet_class_list_link"
href="../puppet_class_list.html">
<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>
</div>
<div class="clear"></div>
</div>
<div id="content"><h1>Puppet Class: confdroid_resources::params</h1>
<div class="box_info">
<dl>
<dt>Inherited by:</dt>
<dd>
<span class='object_link'><a href="confdroid_resources_3A_3Amain_3A_3Aepel.html" title="puppet_classes::confdroid_resources::main::epel (puppet_class)">confdroid_resources::main::epel</a></span><br/>
<span class='object_link'><a href="confdroid_resources_3A_3Amain_3A_3Aconfig.html" title="puppet_classes::confdroid_resources::main::config (puppet_class)">confdroid_resources::main::config</a></span><br/>
<span class='object_link'><a href="confdroid_resources_3A_3Amain_3A_3Ainstall.html" title="puppet_classes::confdroid_resources::main::install (puppet_class)">confdroid_resources::main::install</a></span><br/>
</dd>
</dl>
<dl>
<dt>Defined in:</dt>
<dd>
manifests/params.pp
</dd>
</dl>
</div>
<h2>Summary</h2>
Class contains all parameters for the confdroid_resources module.
<h2>Overview</h2>
<div class="docstring">
<div class="discussion">
<p>confdroid_resources::params.pp Module name: confdroid_resources Author: 12ww1160 (12ww1160@confdroid.com)</p>
</div>
</div>
<div class="tags">
<p class="tag_title">Parameters:</p>
<ul class="param">
<li>
<span class='name'>reqpackages</span>
<span class='type'>(<tt>Array</tt>)</span>
<em class="default">(defaults to: <tt>$facts[&#39;os&#39;][&#39;name&#39;] ? {
&#39;Rocky&#39; =&gt; [&#39;yum&#39;, &#39;yum-utils&#39;]</tt>)</em>
&mdash;
<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>&#39;present&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>version to install, present, latest, v1.0</p>
</div>
</li>
<li>
<span class='name'>rs_enable_epel</span>
<span class='type'>(<tt>String</tt>)</span>
<em class="default">(defaults to: <tt>&#39;1&#39;</tt>)</em>
&mdash;
<div class='inline'>
<p>whether to enable epel</p>
</div>
</li>
</ul>
</div><div class="method_details_list">
<table class="source_code">
<tr>
<td>
<pre class="lines">
9
10
11
12
13
14
15
16
17
18
19
20
21</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 9</span>
class confdroid_resources::params (
Array $reqpackages = $facts[&#39;os&#39;][&#39;name&#39;] ? {
&#39;Rocky&#39; =&gt; [&#39;yum&#39;, &#39;yum-utils&#39;],
},
String $pkg_ensure = &#39;present&#39;,
String $rs_enable_epel = &#39;1&#39;,
) {
$epel_from_url = &#39;https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm&#39;
# includes must be last
include confdroid_resources::main::config
}</pre>
</td>
</tr>
</table>
</div>
</div>
<div id="footer">
Generated by <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>.
</div>
</div>
</body>
</html>