From dd9cb5d927f67d2a19f5e66d02652175de1e4b32 Mon Sep 17 00:00:00 2001 From: Doninelli Davide Date: Tue, 8 Oct 2024 18:25:27 +0200 Subject: [PATCH] set optional highavailability_repo param --- REFERENCE.md | 2 +- manifests/init.pp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/REFERENCE.md b/REFERENCE.md index d3a7fa17..92632ae7 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -443,7 +443,7 @@ Default value: `$corosync::params::package_install_options` ##### `highavailability_repo` -Data type: `String[1]` +Data type: `Optional[String]` Whether the module should enable the corosync service. diff --git a/manifests/init.pp b/manifests/init.pp index 92c4c331..9697f1bd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -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.')