Skip to content

Commit 653f129

Browse files
committed
Use diffent separator for volume options
1 parent 548baa7 commit 653f129

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/facter/gluster.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
volume_options.each do |vol, opts|
7979
Facter.add("gluster_volume_#{vol}_options".to_sym) do
8080
setcode do
81-
opts.join(',')
81+
opts.join(';')
8282
end
8383
end
8484
end

manifests/volume.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
# did the options change?
227227
$current_options = getvar("gluster_volume_${title}_options")
228228
if $current_options {
229-
$_current = sort( split($current_options, ',') )
229+
$_current = sort( split($current_options, ';') )
230230
} else {
231231
$_current = []
232232
}

0 commit comments

Comments
 (0)