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

Clean Rakefile.erb #565

Merged
merged 5 commits into from
Apr 6, 2019
Merged

Clean Rakefile.erb #565

merged 5 commits into from
Apr 6, 2019

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Apr 6, 2019

dacad9a Simplify the exclude_paths logic

By always defining a default we can simplify our code and the defaults become a reference documentation.

623a46b Reuse the puppetlabs_spec_helper lint_fix task

While it's a duplication, our task actually has a better self-documenting name.

702ad3e Simplify lint configuration

This removes all the duplication that already happens in puppetlabs_spec_helper.

It also renamed extra_disabled_lint_checks to a more saner puppet_lint_checks. This is safe because no module actually uses this. It's sanfer because disabled implies we're actually disabling them for you.

06be76b Hard alias test to release checks

No module uses this and it only complicates our Rakefile.

586f9f1 Remove beaker_sets task

Since we stopped storing beaker nodesets as files in our modules, this task no longer makes sense.

ekohl added 5 commits April 6, 2019 13:46
Since we stopped storing beaker nodesets as files in our modules, this
task no longer makes sense.
No module uses this and it only complicates our Rakefile.
This removes all the duplication that already happens in
puppetlabs_spec_helper.

It also renamed extra_disabled_lint_checks to a more saner
puppet_lint_checks. This is safe because no module actually uses this.
It's sanfer because disabled implies we're actually disabling them for
you.
While it's a duplication, our task actually has a better
self-documenting name.
By always defining a default we can simplify our code and the defaults
become a reference documentation.
Copy link
Member

@bastelfreak bastelfreak left a comment

Choose a reason for hiding this comment

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

Please apply the changes to a module and link the PR to this one

@bastelfreak bastelfreak merged commit 7884ae3 into voxpupuli:master Apr 6, 2019
@ekohl ekohl deleted the clean-tasks branch April 6, 2019 12:59
@alexjfisher
Copy link
Member

Re exclude_paths. Why do we overwrite those configured by puppetlabs_spec_helper?

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