We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f164be1 + 0489060 commit c7d7f32Copy full SHA for c7d7f32
manifests/volume.pp
@@ -178,7 +178,7 @@
178
179
# our fact lists bricks comma-separated, but we need an array
180
$vol_bricks = split( getvar( "::gluster_volume_${title}_bricks" ), ',')
181
- if $bricks != $vol_bricks {
+ if sort($bricks) != sort($vol_bricks) {
182
# this resource's list of bricks does not match the existing
183
# volume's list of bricks
184
$new_bricks = difference($bricks, $vol_bricks)
0 commit comments