recommit for updates in build 34
This commit is contained in:
@@ -67,7 +67,9 @@ src="https://pipelines.confdroid.com/buildStatus/icon?job=puppet_cd"></a>|</p>
|
||||
|
||||
<h2 id="label-Synopsis">Synopsis</h2>
|
||||
|
||||
<p>This Puppet module configures settings for puppet master and puppet agents.</p>
|
||||
<p>This Puppet module configures settings for Puppet master and agents,
|
||||
PuppetDB and R10k, the full bundle. The syntax etc is specifically for
|
||||
Puppet Core 8 and Rocky 9, although might work elsewhere as well.</p>
|
||||
|
||||
<h2 id="label-WARNING">WARNING</h2>
|
||||
|
||||
@@ -78,6 +80,66 @@ scope of this module may be overwritten! Automated configurations require a
|
||||
test environment to verify that the module suits the purpose intended by
|
||||
the user, as well as tune the parameters, before deploying into live
|
||||
production</em></strong></p>
|
||||
|
||||
<h2 id="label-Features">Features</h2>
|
||||
<ul><li>
|
||||
<p>install repo rpm</p>
|
||||
</li></ul>
|
||||
|
||||
<h2 id="label-Support">Support</h2>
|
||||
<ul><li>
|
||||
<p>Rocky 9</p>
|
||||
</li><li>
|
||||
<p>Puppet Core 8</p>
|
||||
</li></ul>
|
||||
|
||||
<h2 id="label-Tests">Tests</h2>
|
||||
<ul><li>
|
||||
<p>Puppet Lint</p>
|
||||
</li><li>
|
||||
<p>excluded tests:</p>
|
||||
<ul><li>
|
||||
<p><code>--no-class_inherits_from_params_class-check</code>:relevant only to
|
||||
non-supported outdated puppet versions</p>
|
||||
</li><li>
|
||||
<p><code>--no-variable_scope-check</code>: not applicable as we are inheriting
|
||||
parameters from params class. the lint check does not distinguish between
|
||||
facts and inherited parameters.</p>
|
||||
</li><li>
|
||||
<p><code>--no-80chars-check</code>: it is not always possible to stay within
|
||||
80 characters, although typically only occurring on the parameter vault
|
||||
<code>params.pp</code>.</p>
|
||||
</li><li>
|
||||
<p><code>--no-arrow_alignment-check</code>: this check leads to actually not
|
||||
having am easily readable arrow alignment, as this checks <code>per
|
||||
block</code>, not per class.</p>
|
||||
</li></ul>
|
||||
</li><li>
|
||||
<p>Puppet Parser</p>
|
||||
</li><li>
|
||||
<p>ERB Template Parser</p>
|
||||
</li><li>
|
||||
<p>Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files)</p>
|
||||
</li><li>
|
||||
<p>Markdown-lint</p>
|
||||
</li><li>
|
||||
<p>Spellcheck</p>
|
||||
</li><li>
|
||||
<p>Sonar Quality Gate</p>
|
||||
</li></ul>
|
||||
|
||||
<h2 id="label-Contact+Us">Contact Us</h2>
|
||||
|
||||
<p><a href="https://confdroid.com/contact/">contact Us</a></p>
|
||||
|
||||
<h2 id="label-Disclaimer">Disclaimer</h2>
|
||||
|
||||
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
||||
configuration modules, written for specific purposes and specific
|
||||
environments. The modules are tested and supported only as documented, and
|
||||
require testing in designated environments (i.e. lab or development
|
||||
environments) for parameter tuning etc. before deploying into production
|
||||
environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
|
||||
@@ -67,7 +67,9 @@ src="https://pipelines.confdroid.com/buildStatus/icon?job=puppet_cd"></a>|</p>
|
||||
|
||||
<h2 id="label-Synopsis">Synopsis</h2>
|
||||
|
||||
<p>This Puppet module configures settings for puppet master and puppet agents.</p>
|
||||
<p>This Puppet module configures settings for Puppet master and agents,
|
||||
PuppetDB and R10k, the full bundle. The syntax etc is specifically for
|
||||
Puppet Core 8 and Rocky 9, although might work elsewhere as well.</p>
|
||||
|
||||
<h2 id="label-WARNING">WARNING</h2>
|
||||
|
||||
@@ -78,6 +80,66 @@ scope of this module may be overwritten! Automated configurations require a
|
||||
test environment to verify that the module suits the purpose intended by
|
||||
the user, as well as tune the parameters, before deploying into live
|
||||
production</em></strong></p>
|
||||
|
||||
<h2 id="label-Features">Features</h2>
|
||||
<ul><li>
|
||||
<p>install repo rpm</p>
|
||||
</li></ul>
|
||||
|
||||
<h2 id="label-Support">Support</h2>
|
||||
<ul><li>
|
||||
<p>Rocky 9</p>
|
||||
</li><li>
|
||||
<p>Puppet Core 8</p>
|
||||
</li></ul>
|
||||
|
||||
<h2 id="label-Tests">Tests</h2>
|
||||
<ul><li>
|
||||
<p>Puppet Lint</p>
|
||||
</li><li>
|
||||
<p>excluded tests:</p>
|
||||
<ul><li>
|
||||
<p><code>--no-class_inherits_from_params_class-check</code>:relevant only to
|
||||
non-supported outdated puppet versions</p>
|
||||
</li><li>
|
||||
<p><code>--no-variable_scope-check</code>: not applicable as we are inheriting
|
||||
parameters from params class. the lint check does not distinguish between
|
||||
facts and inherited parameters.</p>
|
||||
</li><li>
|
||||
<p><code>--no-80chars-check</code>: it is not always possible to stay within
|
||||
80 characters, although typically only occurring on the parameter vault
|
||||
<code>params.pp</code>.</p>
|
||||
</li><li>
|
||||
<p><code>--no-arrow_alignment-check</code>: this check leads to actually not
|
||||
having am easily readable arrow alignment, as this checks <code>per
|
||||
block</code>, not per class.</p>
|
||||
</li></ul>
|
||||
</li><li>
|
||||
<p>Puppet Parser</p>
|
||||
</li><li>
|
||||
<p>ERB Template Parser</p>
|
||||
</li><li>
|
||||
<p>Test for unwanted UTF8 files in the Puppet code (see tests/UTF_Files)</p>
|
||||
</li><li>
|
||||
<p>Markdown-lint</p>
|
||||
</li><li>
|
||||
<p>Spellcheck</p>
|
||||
</li><li>
|
||||
<p>Sonar Quality Gate</p>
|
||||
</li></ul>
|
||||
|
||||
<h2 id="label-Contact+Us">Contact Us</h2>
|
||||
|
||||
<p><a href="https://confdroid.com/contact/">contact Us</a></p>
|
||||
|
||||
<h2 id="label-Disclaimer">Disclaimer</h2>
|
||||
|
||||
<p>ConfDroid as entity is entirely independent from Puppet. We provide custom
|
||||
configuration modules, written for specific purposes and specific
|
||||
environments. The modules are tested and supported only as documented, and
|
||||
require testing in designated environments (i.e. lab or development
|
||||
environments) for parameter tuning etc. before deploying into production
|
||||
environments.</p>
|
||||
</div></div>
|
||||
|
||||
<div id="footer">
|
||||
|
||||
@@ -107,17 +107,19 @@
|
||||
9
|
||||
10
|
||||
11
|
||||
12</pre>
|
||||
12
|
||||
13</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/main/yumrepo.pp', line 6</span>
|
||||
|
||||
class puppet_cd::main::yumrepo (
|
||||
|
||||
) inherits puppet_cd::params {
|
||||
|
||||
|
||||
|
||||
) inherits puppet_cd::params {
|
||||
# install repo rpm, which will install all the yum repos
|
||||
package { $pt_package_url:
|
||||
ensure => $pt_pkg_ensure,
|
||||
}
|
||||
}</pre>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -136,6 +136,32 @@
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>pt_package_url</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'https://yum.puppet.com/puppet8-release-el-9.noarch.rpm'</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
<li>
|
||||
|
||||
<span class='name'>pt_pkg_ensure</span>
|
||||
|
||||
|
||||
<span class='type'>(<tt>Any</tt>)</span>
|
||||
|
||||
|
||||
<em class="default">(defaults to: <tt>'present'</tt>)</em>
|
||||
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -163,7 +189,12 @@
|
||||
19
|
||||
20
|
||||
21
|
||||
22</pre>
|
||||
22
|
||||
23
|
||||
24
|
||||
25
|
||||
26
|
||||
27</pre>
|
||||
</td>
|
||||
<td>
|
||||
<pre class="code"><span class="info file"># File 'manifests/params.pp', line 6</span>
|
||||
@@ -173,6 +204,11 @@ class puppet_cd::params (
|
||||
$pt_manage_fw = true,
|
||||
$pt_puppetmaster = undef,
|
||||
|
||||
# installation
|
||||
$pt_package_url = 'https://yum.puppet.com/puppet8-release-el-9.noarch.rpm',
|
||||
$pt_pkg_ensure = 'present',
|
||||
|
||||
|
||||
) {
|
||||
|
||||
$fqdn = $facts['networking']['fqdn']
|
||||
|
||||
Reference in New Issue
Block a user