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

(MODULES-7560) - removed spaces from the beginning or from the end of the value #311

Merged
merged 1 commit into from
Nov 1, 2018

Conversation

lionce
Copy link
Contributor

@lionce lionce commented Oct 31, 2018

When the value contains space characters at the beginning or at the end of the value, then the line will change at every puppet run. In order to fix it, i added strip to the value

@lionce lionce force-pushed the MODULES-7560 branch 2 times, most recently from 9350a36 to 40e8842 Compare October 31, 2018 14:39
@pmcmaw
Copy link
Contributor

pmcmaw commented Oct 31, 2018

spec/acceptance/nodesets/test.yml should not be committed.

@@ -75,7 +75,13 @@ def munge_boolean_md5(value)
desc 'The value of the setting to be defined.'

munge do |value|
value.to_s
if value.is_a?(Integer)
Copy link
Member

Choose a reason for hiding this comment

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

Couldn't the first two if's be folded into one with an OR

@david22swan david22swan merged commit 41457c2 into puppetlabs:master Nov 1, 2018
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.

3 participants