Recommit for updates in build 77
This commit is contained in:
@@ -71,6 +71,8 @@
|
||||
<p><a href="#features">Features</a></p>
|
||||
<ul><li>
|
||||
<p><a href="#configuring-user-access">configuring user access</a></p>
|
||||
</li><li>
|
||||
<p><a href="#additional-users">Additional users</a></p>
|
||||
</li></ul>
|
||||
</li><li>
|
||||
<p><a href="#repo-documentation">Repo Documentation</a></p>
|
||||
@@ -119,7 +121,29 @@
|
||||
|
||||
<h3 id="label-configuring+user+access">configuring user access</h3>
|
||||
|
||||
<p>ToDo</p>
|
||||
<p>Main access to the user interface requires defining an administrative user and password via <code>ng_main_user</code> and <code>ng_main_password</code>. The password should be encrypted like this:</p>
|
||||
|
||||
<pre class="code ruby"><code class="ruby">htpasswd -B -n testuser
|
||||
New password:
|
||||
Re-type new password:
|
||||
</code></pre>
|
||||
|
||||
<p>This results in</p>
|
||||
|
||||
<pre class="code ruby"><code class="ruby">testuser: $2y$05$rNy/P22OfYZlpdEPnCAIg.OUizRD34P7pDRwUGiaYjH44PcRuZ2ia
|
||||
</code></pre>
|
||||
|
||||
<p>Use that value to override the default password in ENC or Hiera, if you use it.</p>
|
||||
|
||||
<h3 id="label-Additional+users">Additional users</h3>
|
||||
|
||||
<p>The main user is automatically created. If you want to add more users, this should be done via the define confdroid_nagios::server::access. In your control repo, site.pp etc. address the access define like this:</p>
|
||||
|
||||
<pre class="code ruby"><code class="ruby">confdroid_nagios::server::access { 'example':
|
||||
ng_htpasswd_user => 'example_user',
|
||||
ng_htpasswd_password => 'example_password_encrypted'
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<h2 id="label-Repo+Documentation">Repo Documentation</h2>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user