Skip to content

Commit

Permalink
pcs_version: Switch from empty string to undef as default
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Jan 17, 2022
1 parent 535e23b commit d1163a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
Boolean $test_corosync_config = $corosync::params::test_corosync_config,
Optional[Variant[Stdlib::Absolutepath, Enum['off']]] $watchdog_device = undef,
Enum['pcs', 'crm'] $provider = 'pcs',
String $pcs_version = '',
String $pcs_version = 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 d1163a8

Please sign in to comment.