-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix puppet-lint warnings / switch to facts hash / drop legacy gluster versions 4.0 and older #203
base: master
Are you sure you want to change the base?
Changes from 9 commits
ce5c38c
479c937
9f2fb97
abdc090
631ce59
e548bff
be29114
3c00b16
55f593d
20decb5
cc72b2c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ | |
Boolean $rebalance = true, | ||
Boolean $heal = true, | ||
Boolean $remove_options = false, | ||
Optional[Array] $options = undef, | ||
Array[String[1]] $options = [], | ||
Optional[Integer] $stripe = undef, | ||
Optional[Integer] $replica = undef, | ||
Optional[Integer] $arbiter = undef, | ||
|
@@ -74,7 +74,7 @@ | |
|
||
$_transport = "transport ${transport}" | ||
|
||
if $options and ! empty( $options ) { | ||
if ! empty( $options ) { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Later there's another if $_options. Perhaps you can combine those? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should leave this pull request as it is, because many others depend on it and we need a working CI pipeline. |
||
$_options = sort( $options ) | ||
} else { | ||
$_options = undef | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.