Skip to content

Commit a7896d0

Browse files
Merge pull request #444 from bastelfreak/ps
puppet-syntax: Validate Hiera keys
2 parents 7863f3f + 65ca136 commit a7896d0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/puppetlabs_spec_helper/rake_tasks.rb

+1
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@
193193
PuppetSyntax.exclude_paths << '.vendor/**/*'
194194
PuppetSyntax.exclude_paths << 'plans/**/*'
195195
PuppetSyntax.check_hiera_keys = true
196+
PuppetSyntax.check_hiera_data = true
196197

197198
desc 'Check syntax of Ruby files and call :syntax and :metadata_lint'
198199
task :validate do

puppetlabs_spec_helper.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
3131
spec.add_runtime_dependency 'mocha', '~> 1.0'
3232
spec.add_runtime_dependency 'pathspec', '>= 0.2', '< 2.0.0'
3333
spec.add_runtime_dependency 'puppet-lint', '~> 4.0'
34-
spec.add_runtime_dependency 'puppet-syntax', '~> 4.0'
34+
spec.add_runtime_dependency 'puppet-syntax', '~> 4.1'
3535
spec.add_runtime_dependency 'rspec-github', '~> 2.0'
3636
spec.add_runtime_dependency 'rspec-puppet', '~> 4.0'
3737

0 commit comments

Comments
 (0)