From 90827aa005f66e26df3b8f7d48c774766caeb777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabija=20Bruzgait=C4=97?= Date: Mon, 2 Sep 2024 12:28:44 +0300 Subject: [PATCH] FIX DOCUMENTATION --- REFERENCE.md | 27 --------------------------- manifests/init.pp | 9 +++++++++ 2 files changed, 9 insertions(+), 27 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index 4667a80..0c1b25a 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -51,9 +51,6 @@ The following parameters are available in the `monit` class: * [`httpd_allow`](#-monit--httpd_allow) * [`httpd_user`](#-monit--httpd_user) * [`httpd_password`](#-monit--httpd_password) -* [`httpd_htpasswd_file`](#-monit--httpd_htpasswd_file ) -* [`httpd_htpasswd_crypto`](#-monit--httpd_htpasswd_crypto) -* [`httpd_htpasswd_users `](#-monit--httpd_htpasswd_users) * [`logfile`](#-monit--logfile) * [`mailserver`](#-monit--mailserver) * [`mailformat`](#-monit--mailformat) @@ -160,30 +157,6 @@ Specifies the password to access the Monit Dashboard. Default value: 'monit' Default value: `$monit::params::httpd_password` -##### `httpd_htpasswd_file` - -Data type: `Optional[String]` - -Specifies the path to the htpasswd file. Default value: '' - -Default value: `$monit::params::httpd_htpasswd_file` - -##### `httpd_htpasswd_crypto` - -Data type: `Optional[String]` - -Specifies the encryption method in the htpasswd file. Default value: `md5` - -Default value: `$monit::params::httpd_htpasswd_crypto` - -##### `httpd_htpasswd_users` - -Data type: `Optional[Array] ` - -An array of users to be managed in the htpasswd file. Default value: [] - -Default value: `$monit::params::httpd_htpasswd_users` - ##### `logfile` Data type: `Optional[String]` diff --git a/manifests/init.pp b/manifests/init.pp index 72f2182..27568b9 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -37,6 +37,15 @@ # @param httpd_password # Specifies the password to access the Monit Dashboard. Default value: 'monit' # +# @param httpd_htpasswd_file +# Specifies the path to the htpasswd file. Default value: '' +# +# @httpd_htpasswd_crypto +# Specifies the encryption method in the htpasswd file. Default value: `md5` +# +# @httpd_htpasswd_users +# An array of users to be managed in the htpasswd file. Default value: [] +# # @param logfile # Specifies the logfile directive value. Default value: '/var/log/monit.log' # It is possible to use syslog instead of direct file logging. (e.g. 'syslog facility log\_daemon')