puppet-syntax 2.2.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e5a8ea5b2dd10a9474032154b4716a5a51d59c2f
4
+ data.tar.gz: 620bbfbea83b5fedeb8d1e34161b2b08d0afad38
5
+ SHA512:
6
+ metadata.gz: cc7eeb21577dd0ad6b0ce2b72f0fd207c44b40d35eba98f6108c2d133f53976d4b66a6896acd44e6278e56f3cf736efa3ac410ec530ce1faf1d1b7a1e14199f2
7
+ data.tar.gz: 4dedf7bfd033d33b8b7404234717e36b1c5e1d0c8e38c8e39f4d7d1f12fd487238a33d53af56ff9cc03279e561be20649f264b48599893868d9267655b059bc9
@@ -6,22 +6,32 @@ script: bundle exec rake
6
6
  rvm:
7
7
  - 1.9.3
8
8
  - 2.1.6
9
+ - 2.2.6
10
+ - 2.3.3
11
+ - 2.4.0
9
12
  env:
10
- - PUPPET_VERSION="~> 3.0.0"
11
- - PUPPET_VERSION="~> 3.1.0"
12
- - PUPPET_VERSION="~> 3.2.0"
13
- - PUPPET_VERSION="~> 3.4.0"
14
- - PUPPET_VERSION="~> 3.7.3"
15
- - PUPPET_VERSION="~> 4.2.0"
16
- - PUPPET_VERSION="~> 4.3.0"
13
+ - PUPPET_VERSION="~> 3.8.7"
14
+ - PUPPET_VERSION="~> 4.8.0"
17
15
  - PUPPET_VERSION=">= 0"
18
16
  matrix:
19
17
  exclude:
20
- - rvm: 2.1.6
21
- env: PUPPET_VERSION="~> 3.2.0"
22
- - rvm: 2.1.6
23
- env: PUPPET_VERSION="~> 3.1.0"
24
- - rvm: 2.1.6
25
- env: PUPPET_VERSION="~> 3.0.0"
18
+ - env: PUPPET_VERSION="~> 3.8.7"
19
+ rvm: 2.2.6
20
+ - env: PUPPET_VERSION="~> 3.8.7"
21
+ rvm: 2.3.3
22
+ - env: PUPPET_VERSION="~> 3.8.7"
23
+ rvm: 2.4.0
26
24
  allow_failures:
27
25
  - env: PUPPET_VERSION=">= 0"
26
+
27
+ deploy:
28
+ provider: rubygems
29
+ api_key:
30
+ secure: "kwxryZZ/t9EkWuYxhz3G1v+U3ZK4WdsiN0UFHDjijnAGPxqe/n+oBcNA8hOiNhjZeTFo8bADEZkL7JtdKQo9RvgStipyaS5gDHB/C1c4LOBWv4Tga21NNCAuBcE2CDtAH3+TzrZV5vv2+SpOrhKZpzZoAoR6PR1MWVWMUie/rE0="
31
+ gem: puppet-syntax
32
+ on:
33
+ rvm: 2.4.0
34
+ condition: '"$PUPPET_VERSION" = "~> 4.8.0"'
35
+ tags: true
36
+ all_branches: true
37
+ repo: voxpupuli/puppet-syntax
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ 2017-01-30 Release 2.3.0
2
+ - Add app_management flag for Puppet application orchestration support. Thanks @ipcrm.
3
+ - Check all *yaml file extensions, including eyaml. thanks @kjetilho, @rjw1.
4
+ - Only test ERB syntax in files with an *.erb extension. Thanks @alexiri.
5
+ - Extend README to list specific files and checks implemented. Thanks @petems.
6
+ - Refactor Rake filelist generation, add tests. Thanks @kjetilho, @rjw1.
7
+
1
8
  2016-12-02 Release 2.2.0
2
9
  - Replace Puppet.initialize_settings with Puppet::Test::TestHelper. Thanks @domcleal #60
3
10
  This clears out caches on every test so increases runtime.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- [![Build Status](https://travis-ci.org/gds-operations/puppet-syntax.svg?branch=master)](https://travis-ci.org/gds-operations/puppet-syntax)
1
+ [![Build Status](https://travis-ci.org/voxpupuli/puppet-syntax.svg?branch=master)](https://travis-ci.org/voxpupuli/puppet-syntax)
2
2
 
3
3
  # Puppet::Syntax
4
4
 
@@ -51,6 +51,34 @@ Use in conjunction with lint and spec tests for Continuous Integration:
51
51
  :spec,
52
52
  ]
53
53
 
54
+ ## Checks
55
+
56
+ ### hiera
57
+
58
+ Checks `.yaml` files for syntax errors.
59
+
60
+ By default, the rake task will look for all `.yaml` files under:
61
+
62
+ * `**/data/**/*.yaml`
63
+ * `hieradata/**/*.yaml`
64
+ * `hiera*.yaml`
65
+
66
+ ### manifests
67
+
68
+ Checks `.pp` files for syntax errors
69
+
70
+ ### templates
71
+
72
+ #### erb
73
+
74
+ Checks `.erb` files for syntax errors
75
+
76
+ #### epp
77
+
78
+ Checks `.epp` files for syntax errors.
79
+
80
+ Note: This will only occur when Puppet version specified is Puppet 4+ or Puppet 3 with the future parser enabled
81
+
54
82
  ## Configuration
55
83
 
56
84
  Paths can be excluded with:
@@ -65,6 +93,14 @@ If you are using some form of hiera data inside your module, you can configure w
65
93
 
66
94
  PuppetSyntax.hieradata_paths = ["**/data/**/*.yaml", "hieradata/**/*.yaml", "hiera*.yaml"]
67
95
 
96
+ If you are trying to validate the syntax of code written for application orchestration, you can enable the `app_management` setting:
97
+
98
+ PuppetSyntax.app_management = true
99
+
100
+ Deprecation notices will cause a failure by default, you can override this functionality by setting:
101
+
102
+ PuppetSyntax.fail_on_deprecation_notices = false
103
+
68
104
  ## Installation
69
105
 
70
106
  Add this line to your application's Gemfile:
@@ -6,10 +6,11 @@ require "puppet-syntax/hiera"
6
6
  module PuppetSyntax
7
7
  @exclude_paths = []
8
8
  @future_parser = false
9
- @hieradata_paths = ["**/data/**/*.yaml", "hieradata/**/*.yaml", "hiera*.yaml"]
9
+ @hieradata_paths = ["**/data/**/*.*yaml", "hieradata/**/*.*yaml", "hiera*.*yaml"]
10
10
  @fail_on_deprecation_notices = true
11
+ @app_management = false
11
12
 
12
13
  class << self
13
- attr_accessor :exclude_paths, :future_parser, :hieradata_paths, :fail_on_deprecation_notices, :epp_only
14
+ attr_accessor :exclude_paths, :future_parser, :hieradata_paths, :fail_on_deprecation_notices, :epp_only, :app_management
14
15
  end
15
16
  end
@@ -59,6 +59,7 @@ module PuppetSyntax
59
59
  private
60
60
  def validate_manifest(file)
61
61
  Puppet[:parser] = 'future' if PuppetSyntax.future_parser and Puppet::PUPPETVERSION.to_i < 4
62
+ Puppet[:app_management] = true if PuppetSyntax.app_management and Puppet::PUPPETVERSION.to_f >= 4.3
62
63
  Puppet::Face[:parser, :current].validate(file)
63
64
  end
64
65
  end
@@ -4,6 +4,24 @@ require 'rake/tasklib'
4
4
 
5
5
  module PuppetSyntax
6
6
  class RakeTask < ::Rake::TaskLib
7
+ def filelist(paths)
8
+ files = FileList[paths]
9
+ files.reject! { |f| File.directory?(f) }
10
+ files.exclude(*PuppetSyntax.exclude_paths)
11
+ end
12
+
13
+ def filelist_manifests
14
+ filelist("**/*.pp")
15
+ end
16
+
17
+ def filelist_templates
18
+ filelist(["**/templates/**/*.erb", "**/templates/**/*.epp"])
19
+ end
20
+
21
+ def filelist_hiera_yaml
22
+ filelist(PuppetSyntax.hieradata_paths)
23
+ end
24
+
7
25
  def initialize(*args)
8
26
  desc 'Syntax check Puppet manifests and templates'
9
27
  task :syntax => [
@@ -36,13 +54,17 @@ to puppetlabs_spec_helper >= 0.8.0 which now uses puppet-syntax.
36
54
  'true'. The `future_parser setting will be ignored.
37
55
  EOS
38
56
  end
57
+ if Puppet::PUPPETVERSION.to_f < 4.3 and PuppetSyntax.app_management
58
+ $stderr.puts <<-EOS
59
+ [WARNING] Puppet `app_management` has been detected but the Puppet
60
+ version is less then 4.3. The `app_management` setting will be ignored.
61
+ EOS
62
+ end
63
+
39
64
  $stderr.puts "---> #{t.name}"
40
- files = FileList["**/*.pp"]
41
- files.reject! { |f| File.directory?(f) }
42
- files = files.exclude(*PuppetSyntax.exclude_paths)
43
65
 
44
66
  c = PuppetSyntax::Manifests.new
45
- output, has_errors = c.check(files)
67
+ output, has_errors = c.check(filelist_manifests)
46
68
  print "#{output.join("\n")}\n" unless output.empty?
47
69
  fail if has_errors || ( output.any? && PuppetSyntax.fail_on_deprecation_notices )
48
70
  end
@@ -50,12 +72,9 @@ to puppetlabs_spec_helper >= 0.8.0 which now uses puppet-syntax.
50
72
  desc 'Syntax check Puppet templates'
51
73
  task :templates do |t|
52
74
  $stderr.puts "---> #{t.name}"
53
- files = FileList["**/templates/**/*"]
54
- files.reject! { |f| File.directory?(f) }
55
- files = files.exclude(*PuppetSyntax.exclude_paths)
56
75
 
57
76
  c = PuppetSyntax::Templates.new
58
- errors = c.check(files)
77
+ errors = c.check(filelist_templates)
59
78
  fail errors.join("\n") unless errors.empty?
60
79
  end
61
80
 
@@ -67,12 +86,8 @@ to puppetlabs_spec_helper >= 0.8.0 which now uses puppet-syntax.
67
86
  namespace :hiera do
68
87
  task :yaml do |t|
69
88
  $stderr.puts "---> #{t.name}"
70
- files = FileList.new(PuppetSyntax.hieradata_paths)
71
- files.reject! { |f| File.directory?(f) }
72
- files = files.exclude(*PuppetSyntax.exclude_paths)
73
-
74
89
  c = PuppetSyntax::Hiera.new
75
- errors = c.check(files)
90
+ errors = c.check(filelist_hiera_yaml)
76
91
  fail errors.join("\n") unless errors.empty?
77
92
  end
78
93
  end
@@ -14,7 +14,7 @@ module PuppetSyntax
14
14
  filelist.each do |file|
15
15
  if File.extname(file) == '.epp' or PuppetSyntax.epp_only
16
16
  errors.concat validate_epp(file)
17
- else
17
+ elsif File.extname(file) == '.erb'
18
18
  errors.concat validate_erb(file)
19
19
  end
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module PuppetSyntax
2
- VERSION = "2.2.0"
2
+ VERSION = "2.3.0"
3
3
  end
@@ -6,11 +6,11 @@ require 'puppet-syntax/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "puppet-syntax"
8
8
  spec.version = PuppetSyntax::VERSION
9
- spec.authors = ["Dan Carley"]
10
- spec.email = ["dan.carley@gmail.com"]
9
+ spec.authors = ["Vox Pupuli"]
10
+ spec.email = ["voxpupuli@groups.io"]
11
11
  spec.description = %q{Syntax checks for Puppet manifests and templates}
12
12
  spec.summary = %q{Syntax checks for Puppet manifests, templates, and Hiera YAML}
13
- spec.homepage = "https://github.com/gds-operations/puppet-syntax"
13
+ spec.homepage = "https://github.com/voxpupuli/puppet-syntax"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
File without changes
File without changes
@@ -0,0 +1,3 @@
1
+ application test_app {
2
+
3
+ }
@@ -0,0 +1,3 @@
1
+ This is plain text
2
+ <% This is not valid Ruby %>
3
+ This is also plain text
@@ -136,6 +136,50 @@ describe PuppetSyntax::Manifests do
136
136
  end
137
137
  end
138
138
 
139
+ describe 'app_management' do
140
+ after do
141
+ PuppetSyntax.app_management = false
142
+ end
143
+
144
+ context 'app_management = false (default)' do
145
+ it 'should fail to parse an application manifest' do
146
+
147
+ files = fixture_manifests(['test_app.pp'])
148
+ output,has_errors = subject.check(files)
149
+
150
+ expect(has_errors).to eq(true)
151
+ expect(output).to include(/error/)
152
+ end
153
+ end
154
+ context 'app_management = true' do
155
+ before(:each) {
156
+ PuppetSyntax.app_management = true
157
+ }
158
+ if Puppet::PUPPETVERSION.to_f >= 4.3
159
+ it 'should successfully parse an application manifest on Puppet >= 4.3.0' do
160
+ expect(PuppetSyntax.app_management).to eq(true)
161
+
162
+ files = fixture_manifests(['test_app.pp'])
163
+ output,has_errors = subject.check(files)
164
+
165
+ expect(output.size).to eq(0)
166
+ expect(has_errors).to eq(false)
167
+ end
168
+ else
169
+ it 'should fail to parse an application manifest on Puppet < 4.3.0' do
170
+ expect(PuppetSyntax.app_management).to eq(true)
171
+
172
+ files = fixture_manifests(['test_app.pp'])
173
+ output,has_errors = subject.check(files)
174
+
175
+ expect(output).to include(/error/)
176
+ expect(has_errors).to eq(true)
177
+ end
178
+ end
179
+ end
180
+ end
181
+
182
+
139
183
  describe 'future_parser' do
140
184
  context 'future_parser = false (default)' do
141
185
  if Puppet::Util::Package.versioncmp(Puppet.version, '4.0') < 0
@@ -1,8 +1,42 @@
1
1
  require 'spec_helper'
2
2
  require 'puppet-syntax/tasks/puppet-syntax'
3
3
 
4
+ known_pp = 'spec/fixtures/test_module/manifests/pass.pp'
5
+ known_erb = 'spec/fixtures/test_module/templates/pass.erb'
6
+ known_yaml = 'spec/fixtures/hiera/data/hiera_1.yaml'
7
+ known_eyaml = 'spec/fixtures/hiera/data/hiera_2.eyaml'
8
+ known_yaml_subdir = 'spec/fixtures/hiera/data/test/hiera_3.yaml'
9
+ known_eyaml_subdir = 'spec/fixtures/hiera/data/test/hiera_4.eyaml'
10
+
4
11
  describe 'PuppetSyntax rake tasks' do
12
+ it 'should filter directories' do
13
+ list = PuppetSyntax::RakeTask.new.filelist(['**/lib', known_pp])
14
+ expect(list.count).to eq 1
15
+ expect(list).to include(known_pp)
16
+ end
17
+
5
18
  it 'should generate FileList of manifests relative to Rakefile' do
19
+ list = PuppetSyntax::RakeTask.new.filelist_manifests
20
+ expect(list).to include(known_pp)
21
+ expect(list.count).to eq 8
22
+ end
23
+
24
+ it 'should generate FileList of templates relative to Rakefile' do
25
+ list = PuppetSyntax::RakeTask.new.filelist_templates
26
+ expect(list).to include(known_erb)
27
+ expect(list.count).to eq 9
28
+ end
29
+
30
+ it 'should generate FileList of Hiera yaml files relative to Rakefile' do
31
+ list = PuppetSyntax::RakeTask.new.filelist_hiera_yaml
32
+ expect(list).to include(known_yaml)
33
+ expect(list).to include(known_eyaml)
34
+ expect(list).to include(known_yaml_subdir)
35
+ expect(list).to include(known_eyaml_subdir)
36
+ expect(list.count).to eq 4
37
+ end
38
+
39
+ it 'should check manifests relative to Rakefile' do
6
40
  if RSpec::Version::STRING < '3'
7
41
  pending
8
42
  else
@@ -10,11 +44,12 @@ describe 'PuppetSyntax rake tasks' do
10
44
  end
11
45
  end
12
46
 
13
- it 'should generate FileList of templates relative to Rakefile' do
47
+ it 'should check templates relative to Rakefile' do
14
48
  if RSpec::Version::STRING < '3'
15
49
  pending
16
50
  else
17
51
  skip('needs to be done')
18
52
  end
19
53
  end
54
+
20
55
  end
@@ -60,6 +60,13 @@ describe PuppetSyntax::Templates do
60
60
  expect(res).to match([])
61
61
  end
62
62
 
63
+ it 'should ignore files without .erb extension' do
64
+ files = fixture_templates('ignore.tpl')
65
+ res = subject.check(files)
66
+
67
+ expect(res).to match([])
68
+ end
69
+
63
70
  if Puppet::PUPPETVERSION.to_f < 3.7
64
71
  context 'on Puppet < 3.7' do
65
72
  it 'should throw an exception when parsing EPP files' do
@@ -3,6 +3,7 @@ require 'spec_helper'
3
3
  describe PuppetSyntax do
4
4
  after do
5
5
  PuppetSyntax.exclude_paths = []
6
+ PuppetSyntax.app_management = false
6
7
  end
7
8
 
8
9
  it 'should default exclude_paths to empty array' do
@@ -24,6 +25,11 @@ describe PuppetSyntax do
24
25
  expect(PuppetSyntax.future_parser).to eq(true)
25
26
  end
26
27
 
28
+ it 'should support app_management setting setting' do
29
+ PuppetSyntax.app_management = true
30
+ expect(PuppetSyntax.app_management).to eq(true)
31
+ end
32
+
27
33
  it 'should support a fail_on_deprecation_notices setting' do
28
34
  PuppetSyntax.fail_on_deprecation_notices = false
29
35
  expect(PuppetSyntax.fail_on_deprecation_notices).to eq(false)
metadata CHANGED
@@ -1,73 +1,66 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-syntax
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
5
- prerelease:
4
+ version: 2.3.0
6
5
  platform: ruby
7
6
  authors:
8
- - Dan Carley
7
+ - Vox Pupuli
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2016-12-02 00:00:00.000000000 Z
11
+ date: 2017-02-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rspec
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: gem_publisher
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.3'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '1.3'
62
55
  description: Syntax checks for Puppet manifests and templates
63
56
  email:
64
- - dan.carley@gmail.com
57
+ - voxpupuli@groups.io
65
58
  executables: []
66
59
  extensions: []
67
60
  extra_rdoc_files: []
68
61
  files:
69
- - .gitignore
70
- - .travis.yml
62
+ - ".gitignore"
63
+ - ".travis.yml"
71
64
  - CHANGELOG
72
65
  - Gemfile
73
66
  - LICENSE.txt
@@ -81,6 +74,10 @@ files:
81
74
  - lib/puppet-syntax/templates.rb
82
75
  - lib/puppet-syntax/version.rb
83
76
  - puppet-syntax.gemspec
77
+ - spec/fixtures/hiera/data/hiera_1.yaml
78
+ - spec/fixtures/hiera/data/hiera_2.eyaml
79
+ - spec/fixtures/hiera/data/test/hiera_3.yaml
80
+ - spec/fixtures/hiera/data/test/hiera_4.eyaml
84
81
  - spec/fixtures/hiera/hiera_bad.yaml
85
82
  - spec/fixtures/hiera/hiera_bad_18.yaml
86
83
  - spec/fixtures/hiera/hiera_good.yaml
@@ -91,10 +88,12 @@ files:
91
88
  - spec/fixtures/test_module/manifests/pass.pp
92
89
  - spec/fixtures/test_module/manifests/pass_storeconfigs.pp
93
90
  - spec/fixtures/test_module/manifests/tag_notice.pp
91
+ - spec/fixtures/test_module/manifests/test_app.pp
94
92
  - spec/fixtures/test_module/templates/fail_error.epp
95
93
  - spec/fixtures/test_module/templates/fail_error.erb
96
94
  - spec/fixtures/test_module/templates/fail_error_also.epp
97
95
  - spec/fixtures/test_module/templates/fail_warning.erb
96
+ - spec/fixtures/test_module/templates/ignore.tpl
98
97
  - spec/fixtures/test_module/templates/pass.epp
99
98
  - spec/fixtures/test_module/templates/pass.erb
100
99
  - spec/fixtures/test_module/templates/pass_also.epp
@@ -106,38 +105,35 @@ files:
106
105
  - spec/puppet-syntax/templates_spec.rb
107
106
  - spec/puppet-syntax_spec.rb
108
107
  - spec/spec_helper.rb
109
- homepage: https://github.com/gds-operations/puppet-syntax
108
+ homepage: https://github.com/voxpupuli/puppet-syntax
110
109
  licenses:
111
110
  - MIT
111
+ metadata: {}
112
112
  post_install_message:
113
113
  rdoc_options: []
114
114
  require_paths:
115
115
  - lib
116
116
  required_ruby_version: !ruby/object:Gem::Requirement
117
- none: false
118
117
  requirements:
119
- - - ! '>='
118
+ - - ">="
120
119
  - !ruby/object:Gem::Version
121
120
  version: '0'
122
- segments:
123
- - 0
124
- hash: 1305733798338570755
125
121
  required_rubygems_version: !ruby/object:Gem::Requirement
126
- none: false
127
122
  requirements:
128
- - - ! '>='
123
+ - - ">="
129
124
  - !ruby/object:Gem::Version
130
125
  version: '0'
131
- segments:
132
- - 0
133
- hash: 1305733798338570755
134
126
  requirements: []
135
127
  rubyforge_project:
136
- rubygems_version: 1.8.23.2
128
+ rubygems_version: 2.6.8
137
129
  signing_key:
138
- specification_version: 3
130
+ specification_version: 4
139
131
  summary: Syntax checks for Puppet manifests, templates, and Hiera YAML
140
132
  test_files:
133
+ - spec/fixtures/hiera/data/hiera_1.yaml
134
+ - spec/fixtures/hiera/data/hiera_2.eyaml
135
+ - spec/fixtures/hiera/data/test/hiera_3.yaml
136
+ - spec/fixtures/hiera/data/test/hiera_4.eyaml
141
137
  - spec/fixtures/hiera/hiera_bad.yaml
142
138
  - spec/fixtures/hiera/hiera_bad_18.yaml
143
139
  - spec/fixtures/hiera/hiera_good.yaml
@@ -148,10 +144,12 @@ test_files:
148
144
  - spec/fixtures/test_module/manifests/pass.pp
149
145
  - spec/fixtures/test_module/manifests/pass_storeconfigs.pp
150
146
  - spec/fixtures/test_module/manifests/tag_notice.pp
147
+ - spec/fixtures/test_module/manifests/test_app.pp
151
148
  - spec/fixtures/test_module/templates/fail_error.epp
152
149
  - spec/fixtures/test_module/templates/fail_error.erb
153
150
  - spec/fixtures/test_module/templates/fail_error_also.epp
154
151
  - spec/fixtures/test_module/templates/fail_warning.erb
152
+ - spec/fixtures/test_module/templates/ignore.tpl
155
153
  - spec/fixtures/test_module/templates/pass.epp
156
154
  - spec/fixtures/test_module/templates/pass.erb
157
155
  - spec/fixtures/test_module/templates/pass_also.epp