Skip to content

Commit 156929d

Browse files
committed
fix syntax error in volume.pp
This commit fixes issue MODULES-4172. Syntax error (using "+" with string) in fail message of volume.pp. + replaced with sprintf for concatantion error string.
1 parent f0b04e2 commit 156929d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/volume.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137

138138
}
139139
default: {
140-
fail ( 'puppet-lvm::volume: ensure parameter can only be set to ' +
141-
'cleaned, absent or present' )
140+
fail ( sprintf("%s%s", 'puppet-lvm::volume: ensure parameter can only ',
141+
'be set to cleaned, absent or present') )
142142
}
143143
}
144144
}

0 commit comments

Comments
 (0)