Skip to content

Commit

Permalink
fix/suppress linter warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Hoblitt committed May 21, 2014
1 parent 5d007ed commit 0a29969
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ require 'puppet-syntax/tasks/puppet-syntax'
require 'puppet-lint/tasks/puppet-lint'

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

task :default => [
Expand Down
3 changes: 2 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
}
}
default: {
fail("Module ${module_name} is not supported on ${::operatingsystem} ${::operatingsystemmajrelease}")
$platform = "${::operatingsystem} ${::operatingsystemmajrelease}"
fail("Module ${module_name} is not supported on ${platform}")
}
}
}
Expand Down

0 comments on commit 0a29969

Please sign in to comment.