File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 7878
7979 if $options =~ Array {
8080 $_options = Hash($options .map |$item | {
81- $m = $item .match(/^([^:]+):(.*)/)
82- [
83- strip($m [1]),
84- strip($m [2])
85- ]
81+ $m = $item .match (/^([^:]+):(.*)/)
82+ [
83+ strip($m [1]),
84+ strip($m [2]),
85+ ]
8686 })
8787 } else {
8888 $_options = $options
140140 $_options.each |$opt_name , $opt_value | {
141141 gluster::volume::option { "${title}:${opt_name}" :
142142 value => $opt_value ,
143- * => $new_volume_defaults
143+ * => $new_volume_defaults ,
144144 }
145145 }
146146
238238 $to_remove .each |$opt_name | {
239239 if $remove_options {
240240 gluster::volume::option { "${title}:${opt_name}" :
241- ensure => absent
241+ ensure => absent ,
242242 }
243243 } else {
244244 notice (" NOT REMOVING the following option for volume ${title} : ${opt_name} ." )
247247 # we have some options defined that are not active. Add them
248248 $to_add .each |$opt_name | {
249249 gluster::volume::option { "${title}:${opt_name}" :
250- value => $provided_options_keys [$opt_name ]
250+ value => $provided_options_keys [$opt_name ],
251251 }
252252 }
253253 }
You can’t perform that action at this time.
0 commit comments