Skip to content

Commit

Permalink
FIX DOCUMENTATION
Browse files Browse the repository at this point in the history
  • Loading branch information
ggabijaa committed Sep 2, 2024
1 parent 42f21e6 commit 90827aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 27 deletions.
27 changes: 0 additions & 27 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -160,30 +157,6 @@ Specifies the password to access the Monit Dashboard. Default value: 'monit'

Default value: `$monit::params::httpd_password`

##### <a name="-monit--httpd_htpasswd_file"></a>`httpd_htpasswd_file`

Data type: `Optional[String]`

Specifies the path to the htpasswd file. Default value: ''

Default value: `$monit::params::httpd_htpasswd_file`

##### <a name="-monit--httpd_htpasswd_crypto"></a>`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`

##### <a name="-monit--httpd_htpasswd_users"></a>`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`

##### <a name="-monit--logfile"></a>`logfile`

Data type: `Optional[String]`
Expand Down
9 changes: 9 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 90827aa

Please sign in to comment.