Skip to content

Commit

Permalink
add puppet-syntax support
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed Aug 23, 2013
1 parent 435661d commit 6a67990
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ end
gem 'rake'
gem 'puppetlabs_spec_helper'
gem 'puppet-lint'
gem 'puppet-syntax'

# vim:ft=ruby
8 changes: 7 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-syntax/tasks/puppet-syntax'
require 'puppet-lint/tasks/puppet-lint'

#PuppetSyntax.exclude_paths = ["vendor/**/*"]
#PuppetLint.configuration.send("disable_class_inherits_from_params_class")
#PuppetLint.configuration.send("disable_variable_scope")
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", 'tests/**/*.pp']

task :default => [:spec, :lint]
task :default => [
:syntax,
:lint,
:spec,
]

0 comments on commit 6a67990

Please sign in to comment.