Class: PuppetCheck::Tasks

Inherits:
Rake::TaskLib
  • Object
show all
Defined in:
lib/puppet-check/tasks.rb

Overview

the rake interface for PuppetCheck

Instance Method Summary collapse

Constructor Details

#initializeTasks

Returns a new instance of Tasks.



7
8
9
10
11
12
# File 'lib/puppet-check/tasks.rb', line 7

def initialize
  desc 'Execute Puppet-Check file checks'
  task 'puppetcheck:file' do
    exit PuppetCheck.new.run(Dir.glob('*'))
  end
end