Skip to content

Commit d6c6f9e

Browse files
committed
Code style
1 parent 26e0238 commit d6c6f9e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

manifests/volume.pp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@
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
@@ -140,7 +140,7 @@
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

@@ -238,7 +238,7 @@
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}.")
@@ -247,7 +247,7 @@
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
}

0 commit comments

Comments
 (0)