Class: PuppetCheck::Tasks
- Inherits:
-
Rake::TaskLib
- Object
- Rake::TaskLib
- PuppetCheck::Tasks
- Defined in:
- lib/puppet-check/tasks.rb
Overview
the rake interface for PuppetCheck
Instance Method Summary collapse
-
#initialize ⇒ Tasks
constructor
A new instance of Tasks.
Constructor Details
#initialize ⇒ Tasks
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 |