treydock
2014-Jun-13 19:46 UTC
[Puppet Users] puppetlabs_spec_helper 0.5.x breaks puppet-lint's ignore_paths ?
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 -- 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+unsubscribe@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.