We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eea653d commit a0f9a5fCopy full SHA for a0f9a5f
Rakefile
@@ -4,16 +4,5 @@ require 'puppet-lint/tasks/puppet-lint'
4
PuppetLint.configuration.send('disable_80chars')
5
PuppetLint.configuration.relative = true
6
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
7
+PuppetSyntax.exclude_paths = ["plans/**/*.pp"]
8
-desc 'Run puppet in noop mode and check for syntax errors.'
9
-task :validate do
10
- Dir['manifests/**/*.pp'].each do |manifest|
11
- sh "puppet parser validate --noop #{manifest}"
12
- end
13
- Dir['spec/**/*.rb','lib/**/*.rb'].each do |ruby_file|
14
- sh "ruby -c #{ruby_file}" unless ruby_file =~ /spec\/fixtures/
15
16
- Dir['templates/**/*.erb'].each do |template|
17
- sh "erb -P -x -T '-' #{template} | ruby -c"
18
19
-end
0 commit comments