Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#puppethack] fix syntax error in volume.pp #174

Merged
merged 2 commits into from Dec 13, 2016
Merged

[#puppethack] fix syntax error in volume.pp #174

merged 2 commits into from Dec 13, 2016

Conversation

cjswart
Copy link
Contributor

@cjswart cjswart commented Dec 13, 2016

This commit fixes issue MODULES-4172.
Syntax error (using "+" with string) in fail message of volume.pp.

  • replaced with sprintf for concatanation error string.

This commit fixes issue MODULES-4172.
Syntax error (using "+" with string) in fail message of volume.pp.
+ replaced with sprintf for concatantion error string.
@@ -137,8 +137,8 @@

}
default: {
fail ( 'puppet-lvm::volume: ensure parameter can only be set to ' +
'cleaned, absent or present' )
fail ( sprintf("%s%s", 'puppet-lvm::volume: ensure parameter can only ',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rake is throwing a fit but locally the only thing lint complains about is the double quotes here. If you could just change those to single I think we'll be good to go.

in volume.pp changed the double qoutes to single quotes
@eputnam eputnam merged commit 3f1395c into puppetlabs:master Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants