Skip to content

Commit

Permalink
enable docs and parameter checks permanently and fix current failures
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms committed Mar 29, 2024
1 parent a428e73 commit c4aeb2e
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 29 deletions.
2 changes: 0 additions & 2 deletions .puppet-lint.rc
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
--fail-on-warnings
--no-parameter_documentation-check
--no-parameter_types-check
4 changes: 4 additions & 0 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
spec/spec_helper.rb:
spec_overrides: "require 'spec_helper_local'"
mock_with: ':mocha'
.puppet-lint.rc:
enabled_lint_checks:
- parameter_documentation
- parameter_types
54 changes: 27 additions & 27 deletions REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,8 @@ The following parameters are available in the `rabbitmq` class:
* [`package_apt_pin`](#-rabbitmq--package_apt_pin)
* [`package_ensure`](#-rabbitmq--package_ensure)
* [`package_gpg_key`](#-rabbitmq--package_gpg_key)
* [`package_source`](#-rabbitmq--package_source)
* [`package_provider`](#-rabbitmq--package_provider)
* [`repo_gpg_key`](#-rabbitmq--repo_gpg_key)
* [`package_name`](#-rabbitmq--package_name)
* [`port`](#-rabbitmq--port)
Expand All @@ -271,6 +273,7 @@ The following parameters are available in the `rabbitmq` class:
* [`ssl_management_cacert`](#-rabbitmq--ssl_management_cacert)
* [`ssl_management_cert`](#-rabbitmq--ssl_management_cert)
* [`ssl_management_key`](#-rabbitmq--ssl_management_key)
* [`ssl_management_fail_if_no_peer_cert`](#-rabbitmq--ssl_management_fail_if_no_peer_cert)
* [`ssl_port`](#-rabbitmq--ssl_port)
* [`ssl_reuse_sessions`](#-rabbitmq--ssl_reuse_sessions)
* [`ssl_secure_renegotiate`](#-rabbitmq--ssl_secure_renegotiate)
Expand All @@ -297,9 +300,6 @@ The following parameters are available in the `rabbitmq` class:
* [`rabbitmqadmin_package`](#-rabbitmq--rabbitmqadmin_package)
* [`archive_options`](#-rabbitmq--archive_options)
* [`loopback_users`](#-rabbitmq--loopback_users)
* [`package_source`](#-rabbitmq--package_source)
* [`package_provider`](#-rabbitmq--package_provider)
* [`ssl_management_fail_if_no_peer_cert`](#-rabbitmq--ssl_management_fail_if_no_peer_cert)

##### <a name="-rabbitmq--admin_enable"></a>`admin_enable`

Expand Down Expand Up @@ -737,6 +737,22 @@ RPM package GPG key to import. Uses source method. Should be a URL for Debian/Re
RedHat OS family. Set to https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc
for Debian/RedHat OS Family by default.

Default value: `undef`

##### <a name="-rabbitmq--package_source"></a>`package_source`

Data type: `Optional[String]`



Default value: `undef`

##### <a name="-rabbitmq--package_provider"></a>`package_provider`

Data type: `Optional[String]`



Default value: `undef`

##### <a name="-rabbitmq--repo_gpg_key"></a>`repo_gpg_key`
Expand Down Expand Up @@ -937,6 +953,14 @@ SSL management key. If unset set to ssl_key for backwards compatibility.

Default value: `$ssl_key`

##### <a name="-rabbitmq--ssl_management_fail_if_no_peer_cert"></a>`ssl_management_fail_if_no_peer_cert`

Data type: `Boolean`



Default value: `false`

##### <a name="-rabbitmq--ssl_port"></a>`ssl_port`

Data type: `Integer[1, 65535]`
Expand Down Expand Up @@ -1155,30 +1179,6 @@ This option configures a list of users to allow access via the loopback interfac

Default value: `['guest']`

##### <a name="-rabbitmq--package_source"></a>`package_source`

Data type: `Optional[String]`



Default value: `undef`

##### <a name="-rabbitmq--package_provider"></a>`package_provider`

Data type: `Optional[String]`



Default value: `undef`

##### <a name="-rabbitmq--ssl_management_fail_if_no_peer_cert"></a>`ssl_management_fail_if_no_peer_cert`

Data type: `Boolean`



Default value: `false`

## Resource types

### <a name="rabbitmq_binding"></a>`rabbitmq_binding`
Expand Down
3 changes: 3 additions & 0 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@
# RPM package GPG key to import. Uses source method. Should be a URL for Debian/RedHat OS family, or a file name for
# RedHat OS family. Set to https://github.com/rabbitmq/signing-keys/releases/download/2.0/rabbitmq-release-signing-key.asc
# for Debian/RedHat OS Family by default.
# @param package_source
# @param package_provider
# @param repo_gpg_key
# RPM package GPG key to import. Uses source method. Should be a URL for Debian/RedHat OS family, or a file name for
# RedHat OS family. Set to https://packagecloud.io/rabbitmq/rabbitmq-server/gpgkey for Debian/RedHat OS Family by
Expand Down Expand Up @@ -280,6 +282,7 @@
# SSL management cert. If unset set to ssl_cert for backwards compatibility.
# @param ssl_management_key
# SSL management key. If unset set to ssl_key for backwards compatibility.
# @param ssl_management_fail_if_no_peer_cert
# @param ssl_port
# SSL port for RabbitMQ
# @param ssl_reuse_sessions
Expand Down

0 comments on commit c4aeb2e

Please sign in to comment.