puppetlabs_spec_helper 0.5.x breaks puppet-lint's ignore_paths ?

69 views
Skip to first unread message

treydock

unread,
Jun 13, 2014, 3:46:07 PM6/13/14
to puppet...@googlegroups.com
Version 0.5.x of puppetlabs_spec_helper seems to make it impossible to add additional paths to be ignored using PuppetLint.configuration.ignore_paths.  If I pin my module to "~> 0.4.0" for puppetlabs_spec_helper, the ignore_paths defined in my Rakefile are respected.

Commit 4ca208bde329aa6861094ccefa07fc8338de6691 added PuppetLint.configuration.ignore_paths to the puppetlabs_spec_helper "lint" task, but wasn't till today that my modules began using puppetlabs_spec_helper 0.5.x.

An example of the Rakefile I use on dozens of Puppet modules, https://github.com/treydock/puppet-zfsonlinux/blob/master/Rakefile.  Is this user error on my part or an actual bug?  The problem I'm hitting is that the "pkg" directory is making the autoload tests fail because my PuppetLint.configuration.ignore_paths in the Rakefile are seemingly ignored.

Thanks
- Trey

Martin Alfke

unread,
Jun 24, 2014, 3:18:17 PM6/24/14
to puppet...@googlegroups.com
Hi,

I encounter the same problem trey describes.
Is there any solution available, which does not pin puppetlabs_spec_helper to a version lower 0.5?

Many thanks,

Martin
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/6891176a-b735-43e4-9a6f-07a701e8199b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Jason Antman

unread,
Jul 1, 2014, 11:06:14 AM7/1/14
to puppet...@googlegroups.com
 I'm also experiencing this issue. I've opened https://tickets.puppetlabs.com/browse/MODULES-1190 for it

Trey Dockendorf

unread,
Jul 1, 2014, 12:29:10 PM7/1/14
to puppet...@googlegroups.com
Thanks Jason. I wasn't sure if there was some clever (and expected)
way to override what is set in puppetlabs_spec_helper and such user
error, or if this was a true bug. Looks like a bug / regression.

- Trey

On Tue, Jul 1, 2014 at 10:06 AM, Jason Antman <ja...@jasonantman.com> wrote:
> I'm also experiencing this issue. I've opened
> https://tickets.puppetlabs.com/browse/MODULES-1190 for it
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Puppet Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/puppet-users/MhrMGZU1-W4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> puppet-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/f1a1e6d6-345a-4605-a661-05415b2b5668%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages