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

modulesync 3.0.0 & puppet-lint updates #188

Merged
merged 5 commits into from
Aug 2, 2020
Merged

modulesync 3.0.0 & puppet-lint updates #188

merged 5 commits into from
Aug 2, 2020

Conversation

bastelfreak
Copy link
Member

modulesync 3.0.0

@@ -34,7 +34,7 @@ function yum::bool2num_hash_recursive($arg) {
Hash => yum::bool2num_hash_recursive($value),
default => $value,
}
Hash({ $key => $return_value })
Hash( { $key => $return_value })
Copy link
Member

Choose a reason for hiding this comment

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

This one looks odd. Why is Hash() needed in he first place? I think the whole map can be removed and put in the reduce.

Copy link
Member

Choose a reason for hiding this comment

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

I took a stab at it, but couldn't get rid of it. This does suggest a bug in the strict linting. If it at least also allowed a space at the end it would at least be symmetrical, but now it isn't.

Copy link
Member Author

Choose a reason for hiding this comment

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

I raised voxpupuli/puppet-lint-manifest_whitespace-check#8 for this. Should we continue and merge this as is?. Because the PR fixes some gemfile dependencies.

Copy link
Member

Choose a reason for hiding this comment

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

We should definitely merge it. A linting issue shouldn't hold up fixes.

manifests/init.pp Outdated Show resolved Hide resolved
@bastelfreak bastelfreak requested a review from ekohl August 2, 2020 13:27
@bastelfreak bastelfreak self-assigned this Aug 2, 2020
@@ -34,7 +34,7 @@ function yum::bool2num_hash_recursive($arg) {
Hash => yum::bool2num_hash_recursive($value),
default => $value,
}
Hash({ $key => $return_value })
Hash( { $key => $return_value })
Copy link
Member

Choose a reason for hiding this comment

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

We should definitely merge it. A linting issue shouldn't hold up fixes.

@bastelfreak bastelfreak merged commit b52c2ee into master Aug 2, 2020
@bastelfreak bastelfreak deleted the modulesync branch August 2, 2020 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants