lib/puppet-check/tasks.rb in puppet-check-1.5.1 vs lib/puppet-check/tasks.rb in puppet-check-1.6.0
- old
+ new
@@ -12,10 +12,10 @@
task puppetcheck: %w[puppetcheck:file puppetcheck:spec puppetcheck:beaker puppetcheck:kitchen]
namespace :puppetcheck do
desc 'Execute Puppet-Check file checks'
task :file do
- PuppetCheck.new.run(Dir.glob('*'))
+ PuppetCheck.new.run(PuppetCheck.settings, Dir.glob('*'))
end
# rspec and rspec-puppet tasks
begin
require 'rspec/core/rake_task'