Skip to content

Commit

Permalink
[strings] Generated Documentation Update at Revision v5.1.0-0-gdffa455
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoneycutt committed Mar 15, 2024
1 parent 2d8d0c5 commit 86de534
Show file tree
Hide file tree
Showing 13 changed files with 1,549 additions and 32 deletions.
14 changes: 12 additions & 2 deletions _index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Documentation by YARD 0.9.34
Documentation by YARD 0.9.36

</title>

Expand Down Expand Up @@ -52,7 +52,7 @@
<div class="clear"></div>
</div>

<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.34</h1>
<div id="content"><h1 class="noborder title">Documentation by YARD 0.9.36</h1>
<div id="listing">
<h1 class="alphaindex">Alphabetic Index</h1>

Expand All @@ -78,11 +78,21 @@ <h2>Puppet Class Listing A-Z</h2>

</li>

<li>
<span class='object_link'><a href="puppet_classes/pam_3A_3Afaillock.html" title="puppet_classes::pam::faillock (puppet_class)">pam::faillock</a></span>

</li>

<li>
<span class='object_link'><a href="puppet_classes/pam_3A_3Alimits.html" title="puppet_classes::pam::limits (puppet_class)">pam::limits</a></span>

</li>

<li>
<span class='object_link'><a href="puppet_classes/pam_3A_3Apwquality.html" title="puppet_classes::pam::pwquality (puppet_class)">pam::pwquality</a></span>

</li>

</ul>
</ul>

Expand Down
61 changes: 56 additions & 5 deletions file.README.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
File: README

&mdash; Documentation by YARD 0.9.34
&mdash; Documentation by YARD 0.9.36

</title>

Expand Down Expand Up @@ -102,6 +102,10 @@ <h3 id="label-What+pam+affects">What pam affects</h3>

<p>The management of <code>/etc/security/access.conf</code> can be controlled by the <code>pam::manage_accesslogin</code> parameter (enabled by default).</p>

<p>The management of <code>/etc/security/faillock.conf</code> can be controlled by the <code>pam::manage_faillock</code> parameter (disabled by default).</p>

<p>The management of <code>/etc/security/pwquality.conf</code> and <code>/etc/security/pwquality.conf.d</code> can be controlled by the <code>pam::manage_pwquality</code> parameter (disabled by default).</p>

<h3 id="label-Setup+requirements">Setup requirements</h3>

<p>This module requires <code>stdlib</code>. When deployed by default it will require <code>nsswitch</code>. See below for more information.</p>
Expand All @@ -116,10 +120,6 @@ <h5 id="label-SSSD">SSSD</h5>

<p>This module has been deployed in production along with <a href="https://github.com/sgnl05/sgnl05-sssd">sgnl05/sssd</a>. Please see <code>examples/hiera/sssd/RedHat-6.yaml</code> file for an example with the additional SSSD entries added via hiera.</p>

<h5 id="label-pwquality">pwquality</h5>

<p>An example of using <a href="https://linux.die.net/man/8/pam_pwquality">pam_pwquality</a> can be found in the <code>examples/hiera/pwquality.yaml</code>.</p>

<h3 id="label-Beginning+with+pam">Beginning with pam</h3>

<p>Include the main <code>pam</code> class.</p>
Expand Down Expand Up @@ -256,6 +256,57 @@ <h5 id="label-Example-3A">Example:</h5>
content : &#39;auth required pam_unix2.so&#39;
</code></pre>

<h4 id="label-Manage+faillock">Manage faillock</h4>

<p>Management of faillock and faillock.conf is enabled via <code>pam::manage_faillock</code>.</p>

<p>The following example would enable faillock, configure it, and add it to the PAM stack.</p>

<pre class="code ruby"><code class="ruby">pam::manage_faillock: true
pam::faillock::deny: 3
pam::pam_auth_lines:
- &#39;auth required pam_env.so&#39;
- &#39;auth required pam_faillock.so preauth silent audit deny=5 unlock_time=900&#39;
- &#39;auth sufficient pam_unix.so try_first_pass nullok&#39;
- &#39;auth [default=die] pam_faillock.so authfail audit deny=5 unlock_time=900&#39;
- &#39;auth required pam_deny.so&#39;
pam::pam_account_lines:
- &#39;account required pam_faillock.so&#39;
- &#39;account required pam_unix.so&#39;
pam::pam_password_auth_lines:
- &#39;auth required pam_env.so&#39;
- &#39;auth required pam_faillock.so preauth silent audit deny=5 unlock_time=900&#39;
- &#39;auth sufficient pam_unix.so try_first_pass nullok&#39;
- &#39;auth [default=die] pam_faillock.so authfail audit deny=5 unlock_time=900&#39;
- &#39;auth required pam_deny.so&#39;
pam::pam_password_account_lines:
- &#39;account required pam_faillock.so&#39;
- &#39;account required pam_unix.so&#39;
</code></pre>

<h4 id="label-Manage+pwquality">Manage pwquality</h4>

<p>Management of pwquality and pwquality.conf is enabled via <code>pam::manage_pwquality</code>.</p>

<p>The following example would enable pwquality, configure it, and add it to the PAM stack.</p>

<pre class="code ruby"><code class="ruby">pam::manage_pwquality: true
pam::pwquality::retry: 3
pam::pwquality::maxclassrepeat: 4
pam::pwquality::maxrepeat: 3
pam::pwquality::minclass: 4
pam::pwquality::difok: 8
pam::pwquality::minlen: 15
pam::pam_password_lines:
- &#39;password requisite pam_pwquality.so try_first_pass local_users_only difok=3 minlen=15 dcredit= 2 ocredit=2&#39;
- &#39;password sufficient pam_unix.so try_first_pass use_authtok nullok sha512 shadow&#39;
- &#39;password required pam_deny.so&#39;
pam::pam_password_password_lines:
- &#39;password requisite pam_pwquality.so try_first_pass local_users_only difok=3 minlen=15 dcredit= 2 ocredit=2&#39;
- &#39;password sufficient pam_unix.so try_first_pass use_authtok nullok sha512 shadow&#39;
- &#39;password required pam_deny.so&#39;
</code></pre>

<h2 id="label-Usage">Usage</h2>

<p>Minimal and normal usage.</p>
Expand Down
15 changes: 10 additions & 5 deletions frames.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@
<html>
<head>
<meta charset="utf-8">
<title>Documentation by YARD 0.9.34</title>
<title>Documentation by YARD 0.9.36</title>
</head>
<script type="text/javascript">
var match = unescape(window.location.hash).match(/^#!(.+)/);
var name = match ? match[1] : 'index.html';
name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
window.top.location = name;
var mainUrl = 'index.html';
try {
var match = decodeURIComponent(window.location.hash).match(/^#!(.+)/);
var name = match ? match[1] : mainUrl;
var url = new URL(name, location.href);
window.top.location.replace(url.origin === location.origin ? name : mainUrl);
} catch (e) {
window.top.location.replace(mainUrl);
}
</script>
<noscript>
<h1>Oops!</h1>
Expand Down
61 changes: 56 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
File: README

&mdash; Documentation by YARD 0.9.34
&mdash; Documentation by YARD 0.9.36

</title>

Expand Down Expand Up @@ -102,6 +102,10 @@ <h3 id="label-What+pam+affects">What pam affects</h3>

<p>The management of <code>/etc/security/access.conf</code> can be controlled by the <code>pam::manage_accesslogin</code> parameter (enabled by default).</p>

<p>The management of <code>/etc/security/faillock.conf</code> can be controlled by the <code>pam::manage_faillock</code> parameter (disabled by default).</p>

<p>The management of <code>/etc/security/pwquality.conf</code> and <code>/etc/security/pwquality.conf.d</code> can be controlled by the <code>pam::manage_pwquality</code> parameter (disabled by default).</p>

<h3 id="label-Setup+requirements">Setup requirements</h3>

<p>This module requires <code>stdlib</code>. When deployed by default it will require <code>nsswitch</code>. See below for more information.</p>
Expand All @@ -116,10 +120,6 @@ <h5 id="label-SSSD">SSSD</h5>

<p>This module has been deployed in production along with <a href="https://github.com/sgnl05/sgnl05-sssd">sgnl05/sssd</a>. Please see <code>examples/hiera/sssd/RedHat-6.yaml</code> file for an example with the additional SSSD entries added via hiera.</p>

<h5 id="label-pwquality">pwquality</h5>

<p>An example of using <a href="https://linux.die.net/man/8/pam_pwquality">pam_pwquality</a> can be found in the <code>examples/hiera/pwquality.yaml</code>.</p>

<h3 id="label-Beginning+with+pam">Beginning with pam</h3>

<p>Include the main <code>pam</code> class.</p>
Expand Down Expand Up @@ -256,6 +256,57 @@ <h5 id="label-Example-3A">Example:</h5>
content : &#39;auth required pam_unix2.so&#39;
</code></pre>

<h4 id="label-Manage+faillock">Manage faillock</h4>

<p>Management of faillock and faillock.conf is enabled via <code>pam::manage_faillock</code>.</p>

<p>The following example would enable faillock, configure it, and add it to the PAM stack.</p>

<pre class="code ruby"><code class="ruby">pam::manage_faillock: true
pam::faillock::deny: 3
pam::pam_auth_lines:
- &#39;auth required pam_env.so&#39;
- &#39;auth required pam_faillock.so preauth silent audit deny=5 unlock_time=900&#39;
- &#39;auth sufficient pam_unix.so try_first_pass nullok&#39;
- &#39;auth [default=die] pam_faillock.so authfail audit deny=5 unlock_time=900&#39;
- &#39;auth required pam_deny.so&#39;
pam::pam_account_lines:
- &#39;account required pam_faillock.so&#39;
- &#39;account required pam_unix.so&#39;
pam::pam_password_auth_lines:
- &#39;auth required pam_env.so&#39;
- &#39;auth required pam_faillock.so preauth silent audit deny=5 unlock_time=900&#39;
- &#39;auth sufficient pam_unix.so try_first_pass nullok&#39;
- &#39;auth [default=die] pam_faillock.so authfail audit deny=5 unlock_time=900&#39;
- &#39;auth required pam_deny.so&#39;
pam::pam_password_account_lines:
- &#39;account required pam_faillock.so&#39;
- &#39;account required pam_unix.so&#39;
</code></pre>

<h4 id="label-Manage+pwquality">Manage pwquality</h4>

<p>Management of pwquality and pwquality.conf is enabled via <code>pam::manage_pwquality</code>.</p>

<p>The following example would enable pwquality, configure it, and add it to the PAM stack.</p>

<pre class="code ruby"><code class="ruby">pam::manage_pwquality: true
pam::pwquality::retry: 3
pam::pwquality::maxclassrepeat: 4
pam::pwquality::maxrepeat: 3
pam::pwquality::minclass: 4
pam::pwquality::difok: 8
pam::pwquality::minlen: 15
pam::pam_password_lines:
- &#39;password requisite pam_pwquality.so try_first_pass local_users_only difok=3 minlen=15 dcredit= 2 ocredit=2&#39;
- &#39;password sufficient pam_unix.so try_first_pass use_authtok nullok sha512 shadow&#39;
- &#39;password required pam_deny.so&#39;
pam::pam_password_password_lines:
- &#39;password requisite pam_pwquality.so try_first_pass local_users_only difok=3 minlen=15 dcredit= 2 ocredit=2&#39;
- &#39;password sufficient pam_unix.so try_first_pass use_authtok nullok sha512 shadow&#39;
- &#39;password required pam_deny.so&#39;
</code></pre>

<h2 id="label-Usage">Usage</h2>

<p>Minimal and normal usage.</p>
Expand Down
16 changes: 15 additions & 1 deletion puppet_class_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,27 @@ <h1 id="full_list_header">Puppet Class List</h1>
</li>


<li id="object_puppet_classes::pam::limits" class="odd">
<li id="object_puppet_classes::pam::faillock" class="odd">
<div class="item">
<span class='object_link'><a href="puppet_classes/pam_3A_3Afaillock.html" title="puppet_classes::pam::faillock (puppet_class)">pam::faillock</a></span>
</div>
</li>


<li id="object_puppet_classes::pam::limits" class="even">
<div class="item">
<span class='object_link'><a href="puppet_classes/pam_3A_3Alimits.html" title="puppet_classes::pam::limits (puppet_class)">pam::limits</a></span>
</div>
</li>


<li id="object_puppet_classes::pam::pwquality" class="odd">
<div class="item">
<span class='object_link'><a href="puppet_classes/pam_3A_3Apwquality.html" title="puppet_classes::pam::pwquality (puppet_class)">pam::pwquality</a></span>
</div>
</li>



</ul>
</div>
Expand Down
74 changes: 65 additions & 9 deletions puppet_classes/pam.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Puppet Class: pam

&mdash; Documentation by YARD 0.9.34
&mdash; Documentation by YARD 0.9.36

</title>

Expand Down Expand Up @@ -216,6 +216,42 @@ <h2>Overview</h2>

</li>

<li>

<span class='name'>manage_faillock</span>


<span class='type'>(<tt>Boolean</tt>)</span>


<em class="default">(defaults to: <tt>false</tt>)</em>


&mdash;
<div class='inline'>
<p>Controls whether to manage faillock.conf</p>
</div>

</li>

<li>

<span class='name'>manage_pwquality</span>


<span class='type'>(<tt>Boolean</tt>)</span>


<em class="default">(defaults to: <tt>false</tt>)</em>


&mdash;
<div class='inline'>
<p>Controls whether to manage pwquality.conf and pwquality.conf.d</p>
</div>

</li>

<li>

<span class='name'>package_name</span>
Expand Down Expand Up @@ -1019,12 +1055,6 @@ <h2>Overview</h2>
<pre class="lines">


194
195
196
197
198
199
200
201
202
Expand Down Expand Up @@ -1203,10 +1233,26 @@ <h2>Overview</h2>
375
376
377
378</pre>
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394</pre>
</td>
<td>
<pre class="code"><span class="info file"># File 'manifests/init.pp', line 194</span>
<pre class="code"><span class="info file"># File 'manifests/init.pp', line 200</span>

class pam (
Variant[Array, Hash, String] $allowed_users = &#39;root&#39;,
Expand All @@ -1220,6 +1266,8 @@ <h2>Overview</h2>
Optional[Hash] $services = undef,
Optional[Hash] $limits_fragments = undef,
Boolean $limits_fragments_hiera_merge = false,
Boolean $manage_faillock = false,
Boolean $manage_pwquality = false,
Array $pam_d_login_oracle_options = [],
Stdlib::Absolutepath $pam_d_login_path = &#39;/etc/pam.d/login&#39;,
String $pam_d_login_owner = &#39;root&#39;,
Expand Down Expand Up @@ -1328,6 +1376,14 @@ <h2>Overview</h2>
}
}

if $manage_faillock {
include pam::faillock
}

if $manage_pwquality {
include pam::pwquality
}

if $manage_nsswitch {
include nsswitch
}
Expand Down
2 changes: 1 addition & 1 deletion puppet_classes/pam_3A_3Aaccesslogin.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<title>
Puppet Class: pam::accesslogin

&mdash; Documentation by YARD 0.9.34
&mdash; Documentation by YARD 0.9.36

</title>

Expand Down
Loading

0 comments on commit 86de534

Please sign in to comment.