Skip to content

Commit

Permalink
set optional highavailability_repo param
Browse files Browse the repository at this point in the history
  • Loading branch information
Doninelli Davide authored and Doninelli Davide committed Oct 8, 2024
1 parent ea50560 commit dd9cb5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ Default value: `$corosync::params::package_install_options`

##### <a name="-corosync--highavailability_repo"></a>`highavailability_repo`

Data type: `String[1]`
Data type: `Optional[String]`

Whether the module should enable the corosync service.

Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@
Optional[Variant[Stdlib::Absolutepath, Enum['off']]] $watchdog_device = undef,
Enum['pcs', 'crm'] $provider = 'pcs',
String $pcs_version = '', # lint:ignore:params_empty_string_assignment
String[1] $highavailability_repo = undef,
Optional[String] $highavailability_repo = undef,
) inherits corosync::params {
if $set_votequorum and (empty($quorum_members) and empty($multicast_address) and !$cluster_name) {
fail('set_votequorum is true, so you must set either quorum_members, or one of multicast_address or cluster_name.')
Expand Down

0 comments on commit dd9cb5d

Please sign in to comment.