puppet-check 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,93 +3,102 @@ require_relative '../../lib/puppet-check/ruby_parser'
3
3
 
4
4
  describe RubyParser do
5
5
  before(:each) do
6
- PuppetCheck.settings[:error_files] = []
7
- PuppetCheck.settings[:warning_files] = []
8
- PuppetCheck.settings[:clean_files] = []
6
+ PuppetCheck.files = {
7
+ errors: {},
8
+ warnings: {},
9
+ clean: [],
10
+ ignored: []
11
+ }
9
12
  end
10
13
 
11
14
  context '.ruby' do
12
- it 'puts a bad syntax ruby file in the error files array' do
15
+ it 'puts a bad syntax ruby file in the error files hash' do
13
16
  RubyParser.ruby(["#{fixtures_dir}lib/syntax.rb"], false, [])
14
- expect(PuppetCheck.settings[:error_files][0]).to match(%r{^#{fixtures_dir}lib/syntax.rb:\n.*syntax error})
15
- expect(PuppetCheck.settings[:warning_files]).to eql([])
16
- expect(PuppetCheck.settings[:clean_files]).to eql([])
17
+ expect(PuppetCheck.files[:errors].keys).to eql(["#{fixtures_dir}lib/syntax.rb"])
18
+ expect(PuppetCheck.files[:errors]["#{fixtures_dir}lib/syntax.rb"].join("\n")).to match(%r{^.*syntax error})
19
+ expect(PuppetCheck.files[:warnings]).to eql({})
20
+ expect(PuppetCheck.files[:clean]).to eql([])
17
21
  end
18
22
  it 'puts a bad style ruby file in the warning files array' do
19
23
  RubyParser.ruby(["#{fixtures_dir}lib/style.rb"], true, [])
20
- expect(PuppetCheck.settings[:error_files]).to eql([])
21
- expect(PuppetCheck.settings[:warning_files][0]).to match(%r{^#{fixtures_dir}lib/style.rb:\n.*Useless assignment.*\n.*Use the new.*\n.*Do not introduce.*\n.*Prefer single.*\n.*Remove unnecessary empty.*\n.*Source code comment is empty.*\n.*is a writable attribute.*\n.*Issue has no descriptive comment})
22
- expect(PuppetCheck.settings[:clean_files]).to eql([])
24
+ expect(PuppetCheck.files[:errors]).to eql({})
25
+ expect(PuppetCheck.files[:warnings].keys).to eql(["#{fixtures_dir}lib/style.rb"])
26
+ expect(PuppetCheck.files[:warnings]["#{fixtures_dir}lib/style.rb"].join("\n")).to match(%r{Useless assignment.*\n.*Use the new.*\n.*Do not introduce.*\n.*Prefer single.*\n.*Remove unnecessary empty.*\n.*Source code comment is empty.*\n.*is a writable attribute.*\n.*Issue has no descriptive comment})
27
+ expect(PuppetCheck.files[:clean]).to eql([])
23
28
  end
24
29
  it 'puts a bad style ruby file in the clean files array when rubocop_args ignores its warnings' do
25
30
  RubyParser.ruby(["#{fixtures_dir}lib/rubocop_style.rb"], true, ['--except', 'Lint/UselessAssignment,Style/HashSyntax,Style/GlobalVars,Style/StringLiterals'])
26
- expect(PuppetCheck.settings[:error_files]).to eql([])
27
- expect(PuppetCheck.settings[:warning_files]).to eql([])
28
- expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}lib/rubocop_style.rb"])
31
+ expect(PuppetCheck.files[:errors]).to eql({})
32
+ expect(PuppetCheck.files[:warnings]).to eql({})
33
+ expect(PuppetCheck.files[:clean]).to eql(["#{fixtures_dir}lib/rubocop_style.rb"])
29
34
  end
30
35
  it 'puts a good ruby file in the clean files array' do
31
36
  RubyParser.ruby(["#{fixtures_dir}lib/good.rb"], true, [])
32
- expect(PuppetCheck.settings[:error_files]).to eql([])
33
- expect(PuppetCheck.settings[:warning_files]).to eql([])
34
- expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}lib/good.rb"])
37
+ expect(PuppetCheck.files[:errors]).to eql({})
38
+ expect(PuppetCheck.files[:warnings]).to eql({})
39
+ expect(PuppetCheck.files[:clean]).to eql(["#{fixtures_dir}lib/good.rb"])
35
40
  end
36
41
  end
37
42
 
38
43
  context '.template' do
39
- it 'puts a bad syntax ruby template file in the error files array' do
44
+ it 'puts a bad syntax ruby template file in the error files hash' do
40
45
  RubyParser.template(["#{fixtures_dir}templates/syntax.erb"])
46
+ expect(PuppetCheck.files[:errors].keys).to eql(["#{fixtures_dir}templates/syntax.erb"])
41
47
  if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.7')
42
- expect(PuppetCheck.settings[:error_files][0]).to match(%r{^#{fixtures_dir}templates/syntax.erb:\n.*1: syntax error, unexpected.*\n.*ruby})
48
+ expect(PuppetCheck.files[:errors]["#{fixtures_dir}templates/syntax.erb"].join("\n")).to match(%r{1: syntax error, unexpected.*\n.*ruby})
43
49
  else
44
- expect(PuppetCheck.settings[:error_files][0]).to match(%r{^#{fixtures_dir}templates/syntax.erb:\n.*syntax error, unexpected tIDENTIFIER})
50
+ expect(PuppetCheck.files[:errors]["#{fixtures_dir}templates/syntax.erb"].join("\n")).to match(%r{syntax error, unexpected tIDENTIFIER})
45
51
  end
46
- expect(PuppetCheck.settings[:warning_files]).to eql([])
47
- expect(PuppetCheck.settings[:clean_files]).to eql([])
52
+ expect(PuppetCheck.files[:warnings]).to eql({})
53
+ expect(PuppetCheck.files[:clean]).to eql([])
48
54
  end
49
55
  it 'puts a bad style ruby template file in the warning files array' do
50
56
  RubyParser.template(["#{fixtures_dir}templates/style.erb"])
51
- expect(PuppetCheck.settings[:error_files]).to eql([])
52
- expect(PuppetCheck.settings[:warning_files][0]).to match(%r{^#{fixtures_dir}templates/style.erb:\n.*already initialized constant.*\n.*previous definition of})
53
- expect(PuppetCheck.settings[:clean_files]).to eql([])
57
+ expect(PuppetCheck.files[:errors]).to eql({})
58
+ expect(PuppetCheck.files[:warnings].keys).to eql(["#{fixtures_dir}templates/style.erb"])
59
+ expect(PuppetCheck.files[:warnings]["#{fixtures_dir}templates/style.erb"].join("\n")).to match(%r{already initialized constant.*\n.*previous definition of})
60
+ expect(PuppetCheck.files[:clean]).to eql([])
54
61
  end
55
62
  it 'puts a ruby template file with ignored errors in the clean files array' do
56
63
  RubyParser.template(["#{fixtures_dir}templates/no_method_error.erb"])
57
- expect(PuppetCheck.settings[:error_files]).to eql([])
58
- expect(PuppetCheck.settings[:warning_files]).to eql([])
59
- expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}templates/no_method_error.erb"])
64
+ expect(PuppetCheck.files[:errors]).to eql({})
65
+ expect(PuppetCheck.files[:warnings]).to eql({})
66
+ expect(PuppetCheck.files[:clean]).to eql(["#{fixtures_dir}templates/no_method_error.erb"])
60
67
  end
61
68
  it 'puts a good ruby template file in the clean files array' do
62
69
  RubyParser.template(["#{fixtures_dir}templates/good.erb"])
63
- expect(PuppetCheck.settings[:error_files]).to eql([])
64
- expect(PuppetCheck.settings[:warning_files]).to eql([])
65
- expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}templates/good.erb"])
70
+ expect(PuppetCheck.files[:errors]).to eql({})
71
+ expect(PuppetCheck.files[:warnings]).to eql({})
72
+ expect(PuppetCheck.files[:clean]).to eql(["#{fixtures_dir}templates/good.erb"])
66
73
  end
67
74
  end
68
75
 
69
76
  context '.librarian' do
70
- it 'puts a bad syntax librarian Puppet file in the error files array' do
77
+ it 'puts a bad syntax librarian Puppet file in the error files hash' do
71
78
  RubyParser.librarian(["#{fixtures_dir}librarian_syntax/Puppetfile"], false, [])
72
- expect(PuppetCheck.settings[:error_files][0]).to match(%r{^#{fixtures_dir}librarian_syntax/Puppetfile:\n.*syntax error})
73
- expect(PuppetCheck.settings[:warning_files]).to eql([])
74
- expect(PuppetCheck.settings[:clean_files]).to eql([])
79
+ expect(PuppetCheck.files[:errors].keys).to eql(["#{fixtures_dir}librarian_syntax/Puppetfile"])
80
+ expect(PuppetCheck.files[:errors]["#{fixtures_dir}librarian_syntax/Puppetfile"].join("\n")).to match(%r{^.*syntax error})
81
+ expect(PuppetCheck.files[:warnings]).to eql({})
82
+ expect(PuppetCheck.files[:clean]).to eql([])
75
83
  end
76
84
  it 'puts a bad style librarian Puppet file in the warning files array' do
77
85
  RubyParser.librarian(["#{fixtures_dir}librarian_style/Puppetfile"], true, [])
78
- expect(PuppetCheck.settings[:error_files]).to eql([])
79
- expect(PuppetCheck.settings[:warning_files][0]).to match(%r{^#{fixtures_dir}librarian_style/Puppetfile:\n.*Align the arguments.*\n.*Use the new})
80
- expect(PuppetCheck.settings[:clean_files]).to eql([])
86
+ expect(PuppetCheck.files[:errors]).to eql({})
87
+ expect(PuppetCheck.files[:warnings].keys).to eql(["#{fixtures_dir}librarian_style/Puppetfile"])
88
+ expect(PuppetCheck.files[:warnings]["#{fixtures_dir}librarian_style/Puppetfile"].join("\n")).to match(%r{Align the arguments.*\n.*Use the new})
89
+ expect(PuppetCheck.files[:clean]).to eql([])
81
90
  end
82
91
  it 'puts a bad style librarian Puppet file in the clean files array when rubocop_args ignores its warnings' do
83
92
  RubyParser.librarian(["#{fixtures_dir}librarian_style/Puppetfile"], true, ['--except', 'Layout/ArgumentAlignment,Style/HashSyntax'])
84
- expect(PuppetCheck.settings[:error_files]).to eql([])
85
- expect(PuppetCheck.settings[:warning_files]).to eql([])
86
- expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}librarian_style/Puppetfile"])
93
+ expect(PuppetCheck.files[:errors]).to eql({})
94
+ expect(PuppetCheck.files[:warnings]).to eql({})
95
+ expect(PuppetCheck.files[:clean]).to eql(["#{fixtures_dir}librarian_style/Puppetfile"])
87
96
  end
88
97
  it 'puts a good librarian Puppet file in the clean files array' do
89
98
  RubyParser.librarian(["#{fixtures_dir}librarian_good/Puppetfile"], true, [])
90
- expect(PuppetCheck.settings[:error_files]).to eql([])
91
- expect(PuppetCheck.settings[:warning_files]).to eql([])
92
- expect(PuppetCheck.settings[:clean_files]).to eql(["#{fixtures_dir}librarian_good/Puppetfile"])
99
+ expect(PuppetCheck.files[:errors]).to eql({})
100
+ expect(PuppetCheck.files[:warnings]).to eql({})
101
+ expect(PuppetCheck.files[:clean]).to eql(["#{fixtures_dir}librarian_good/Puppetfile"])
93
102
  end
94
103
  end
95
104
  end
@@ -10,7 +10,7 @@ describe PuppetCheck::Tasks do
10
10
  end
11
11
 
12
12
  context 'puppetcheck:spec' do
13
- let(:spec_tasks) { Rake::Task['puppetcheck:spec'.to_sym].invoke }
13
+ let(:spec_tasks) { Rake::Task[:'puppetcheck:spec'].invoke }
14
14
 
15
15
  it 'executes RSpec and RSpec-Puppet checks in the expected manner' do
16
16
  Dir.chdir(fixtures_dir)
@@ -23,23 +23,19 @@ describe PuppetCheck::Tasks do
23
23
  end
24
24
 
25
25
  context 'puppetcheck:beaker' do
26
- let(:beaker_task) { Rake::Task['puppetcheck:beaker'.to_sym].invoke }
26
+ let(:beaker_task) { Rake::Task[:'puppetcheck:beaker'].invoke }
27
27
 
28
28
  it 'verifies the Beaker task exists' do
29
- Dir.chdir(fixtures_dir)
30
-
31
29
  # beaker task executed
32
30
  expect { beaker_task }.to output("Beaker is not installed. The Beaker tasks will not be available.\n").to_stdout
33
31
  end
34
32
  end
35
33
 
36
34
  context 'puppetcheck:kitchen' do
37
- let(:kitchen_task) { Rake::Task['puppetcheck:kitchen'.to_sym].invoke }
35
+ let(:kitchen_task) { Rake::Task[:'puppetcheck:kitchen'].invoke }
38
36
 
39
37
  it 'verifies the Kitchen task exists' do
40
- Dir.chdir(fixtures_dir)
41
-
42
- # beaker task executed
38
+ # kitchen task executed
43
39
  expect { kitchen_task }.to output("Test Kitchen is not installed. The Kitchen tasks will not be available.\n").to_stdout
44
40
  end
45
41
  end
@@ -3,30 +3,68 @@ require_relative '../lib/puppet_check'
3
3
 
4
4
  describe PuppetCheck do
5
5
  context 'self' do
6
- it 'settings can be altered' do
7
- expect(PuppetCheck.settings[:future_parser]).to eql(nil)
8
- PuppetCheck.settings[:fail_on_warnings] = true
9
- expect(PuppetCheck.settings[:fail_on_warnings]).to eql(true)
10
- PuppetCheck.settings[:style] = true
11
- expect(PuppetCheck.settings[:style]).to eql(true)
12
- PuppetCheck.settings[:smoke] = true
13
- expect(PuppetCheck.settings[:smoke]).to eql(true)
14
- PuppetCheck.settings[:regression] = true
15
- expect(PuppetCheck.settings[:regression]).to eql(true)
16
- PuppetCheck.settings[:public] = 'public.pem'
17
- expect(PuppetCheck.settings[:public]).to eql('public.pem')
18
- PuppetCheck.settings[:private] = 'private.pem'
19
- expect(PuppetCheck.settings[:private]).to eql('private.pem')
20
- PuppetCheck.settings[:output_format] = 'text'
21
- expect(PuppetCheck.settings[:output_format]).to eql('text')
22
- PuppetCheck.settings[:octoconfig] = '.octocatalog-diff.cfg.rb'
23
- expect(PuppetCheck.settings[:octoconfig]).to eql('.octocatalog-diff.cfg.rb')
24
- PuppetCheck.settings[:octonodes] = %w[localhost.localdomain]
25
- expect(PuppetCheck.settings[:octonodes]).to eql(%w[localhost.localdomain])
26
- PuppetCheck.settings[:puppetlint_args] = ['--puppetlint-arg-one', '--puppetlint-arg-two']
27
- expect(PuppetCheck.settings[:puppetlint_args]).to eql(['--puppetlint-arg-one', '--puppetlint-arg-two'])
28
- PuppetCheck.settings[:rubocop_args] = ['--rubocop-arg-one', '--rubocop-arg-two']
29
- expect(PuppetCheck.settings[:rubocop_args]).to eql(['--rubocop-arg-one', '--rubocop-arg-two'])
6
+ it 'files are initialized correctly' do
7
+ expect(PuppetCheck.files).to eql(
8
+ {
9
+ errors: {},
10
+ warnings: {},
11
+ clean: [],
12
+ ignored: []
13
+ }
14
+ )
15
+ end
16
+ it 'files can be altered' do
17
+ PuppetCheck.files = {
18
+ errors: { 'foo' => ['i had an error'] },
19
+ warnings: { 'foo' => ['i had a warning'] },
20
+ clean: ['foo'],
21
+ ignored: ['foo']
22
+ }
23
+ expect(PuppetCheck.files).to eql(
24
+ {
25
+ errors: { 'foo' => ['i had an error'] },
26
+ warnings: { 'foo' => ['i had a warning'] },
27
+ clean: ['foo'],
28
+ ignored: ['foo']
29
+ }
30
+ )
31
+ end
32
+ end
33
+
34
+ context 'defaults' do
35
+ it 'returns defaults correctly' do
36
+ expect(PuppetCheck.defaults).to eql(
37
+ {
38
+ fail_on_warning: false,
39
+ style: false,
40
+ smoke: false,
41
+ regression: false,
42
+ public: nil,
43
+ private: nil,
44
+ output_format: 'text',
45
+ octoconfig: '.octocatalog-diff.cfg.rb',
46
+ octonodes: %w[localhost.localdomain],
47
+ puppetlint_args: [],
48
+ rubocop_args: []
49
+ }
50
+ )
51
+ end
52
+
53
+ it 'modifies settings correctly' do
54
+ settings = {
55
+ fail_on_warning: true,
56
+ style: true,
57
+ smoke: true,
58
+ regression: true,
59
+ public: 'public.pem',
60
+ private: 'private.pem',
61
+ output_format: 'yaml',
62
+ octoconfig: '.octocatalog-diff.cfg.erb',
63
+ octonodes: %w[host.domain],
64
+ puppetlint_args: %w[--puppetlint-arg-one --puppetlint-arg-two],
65
+ rubocop_args: %w[--rubocop-arg-one --rubocop-arg-two]
66
+ }
67
+ expect(PuppetCheck.defaults(settings)).to eql(settings)
30
68
  end
31
69
  end
32
70
 
@@ -73,7 +111,7 @@ describe PuppetCheck do
73
111
  # expect(parser_output).to receive(:yaml).with(%w[yaml.yaml yaml.yml])
74
112
  # expect(parser_output).to receive(:json).with(%w[json.json])
75
113
  # expect(parser_output).to receive(:librarian).with(%w[Puppetfile Modulefile])
76
- # expect(PuppetCheck.settings[:ignored_files]).to eql(%w[foobarbaz])
114
+ # expect(PuppetCheck.files[:ignored]).to eql(%w[foobarbaz])
77
115
  end
78
116
  end
79
117
  end
@@ -17,43 +17,43 @@ describe PuppetCheck do
17
17
 
18
18
  expect { cli }.not_to raise_exception
19
19
 
20
- expect(PuppetCheck.settings[:error_files].length).to eql(10)
21
- expect(PuppetCheck.settings[:warning_files].length).to eql(11)
22
- expect(PuppetCheck.settings[:clean_files].length).to eql(13)
23
- expect(PuppetCheck.settings[:ignored_files].length).to eql(6)
20
+ expect(PuppetCheck.files[:errors].length).to eql(10)
21
+ expect(PuppetCheck.files[:warnings].length).to eql(11)
22
+ expect(PuppetCheck.files[:clean].length).to eql(13)
23
+ expect(PuppetCheck.files[:ignored].length).to eql(6)
24
24
 
25
25
  expect(cli).to eql(2)
26
26
  end
27
27
  end
28
28
 
29
29
  context 'executed as a system from the Rakefile with arguments and various files to be processed' do
30
- let(:tasks) { Rake::Task['puppetcheck:file'.to_sym].invoke }
31
-
32
30
  it 'outputs diagnostic results correctly after processing all of the files' do
33
31
  # ensure rake only checks the files inside fixtures
34
32
  Dir.chdir(fixtures_dir)
35
33
 
36
- # clear out arrays from previous system test
37
- PuppetCheck.settings[:error_files] = []
38
- PuppetCheck.settings[:warning_files] = []
39
- PuppetCheck.settings[:clean_files] = []
40
- PuppetCheck.settings[:ignored_files] = []
41
- PuppetCheck.settings[:style] = true
34
+ # clear out files member from previous system test
35
+ PuppetCheck.files = {
36
+ errors: {},
37
+ warnings: {},
38
+ clean: [],
39
+ ignored: []
40
+ }
41
+ settings = { style: true }
42
42
  # see regression_check_spec
43
43
  unless ENV['TRAVIS'] == 'true' || ENV['CIRCLECI'] == 'true' || ENV['GITHUB_ACTIONS'] == 'true'
44
- PuppetCheck.settings[:smoke] = true
45
- PuppetCheck.settings[:octonodes] = %w[good.example.com]
46
- PuppetCheck.settings[:octoconfig] = 'spec/octocatalog-diff/octocatalog-diff.cfg.rb'
44
+ settings[:smoke] = true
45
+ settings[:octonodes] = %w[good.example.com]
46
+ settings[:octoconfig] = 'spec/octocatalog-diff/octocatalog-diff.cfg.rb'
47
47
  end
48
48
 
49
49
  # cannot re-use plan fixture between system tests
50
- expect { tasks }.to raise_error(ArgumentError, /Attempt to redefine entity/)
50
+ expect { Rake::Task[:'puppetcheck:file'].invoke(settings) }.to raise_error(ArgumentError, /Attempt to redefine entity/)
51
51
 
52
52
  # current puppet pops limitations no longer allow testing this
53
- # expect(PuppetCheck.settings[:error_files].length).to eql(10)
54
- # expect(PuppetCheck.settings[:warning_files].length).to eql(11)
55
- # expect(PuppetCheck.settings[:clean_files].length).to eql(13)
56
- # expect(PuppetCheck.settings[:ignored_files].length).to eql(6)
53
+ # expect(PuppetCheck.files[:errors].length).to eql(10)
54
+ # expect(PuppetCheck.files[:warnings].length).to eql(11)
55
+ # expect(PuppetCheck.files[:clean].length).to eql(13)
56
+ # expect(PuppetCheck.files[:ignored].length).to eql(6)
57
57
  end
58
58
  end
59
59
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-check
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Schuchard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-10 00:00:00.000000000 Z
11
+ date: 2023-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: puppet
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.4'
19
+ version: '5.5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '8'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '5.4'
29
+ version: '5.5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '8'
@@ -34,16 +34,22 @@ dependencies:
34
34
  name: puppet-lint
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '2.0'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '4'
40
43
  type: :runtime
41
44
  prerelease: false
42
45
  version_requirements: !ruby/object:Gem::Requirement
43
46
  requirements:
44
- - - "~>"
47
+ - - ">="
45
48
  - !ruby/object:Gem::Version
46
49
  version: '2.0'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '4'
47
53
  - !ruby/object:Gem::Dependency
48
54
  name: reek
49
55
  requirement: !ruby/object:Gem::Requirement
@@ -232,61 +238,4 @@ signing_key:
232
238
  specification_version: 4
233
239
  summary: A streamlined comprehensive set of checks for your entire Puppet code and
234
240
  data
235
- test_files:
236
- - spec/fixtures/foobarbaz
237
- - spec/fixtures/hieradata/good.eyaml
238
- - spec/fixtures/hieradata/good.json
239
- - spec/fixtures/hieradata/good.yaml
240
- - spec/fixtures/hieradata/style.eyaml
241
- - spec/fixtures/hieradata/style.yaml
242
- - spec/fixtures/hieradata/syntax.eyaml
243
- - spec/fixtures/hieradata/syntax.json
244
- - spec/fixtures/hieradata/syntax.yaml
245
- - spec/fixtures/keys/private_key.pkcs7.pem
246
- - spec/fixtures/keys/public_key.pkcs7.pem
247
- - spec/fixtures/lib/good.rb
248
- - spec/fixtures/lib/rubocop_style.rb
249
- - spec/fixtures/lib/style.rb
250
- - spec/fixtures/lib/syntax.rb
251
- - spec/fixtures/librarian_good/Puppetfile
252
- - spec/fixtures/librarian_style/Puppetfile
253
- - spec/fixtures/librarian_syntax/Puppetfile
254
- - spec/fixtures/manifests/eof_syntax.pp
255
- - spec/fixtures/manifests/good.pp
256
- - spec/fixtures/manifests/style_lint.pp
257
- - spec/fixtures/manifests/style_parser.pp
258
- - spec/fixtures/manifests/syntax.pp
259
- - spec/fixtures/metadata.json
260
- - spec/fixtures/metadata_good/metadata.json
261
- - spec/fixtures/metadata_style/metadata.json
262
- - spec/fixtures/metadata_style_two/metadata.json
263
- - spec/fixtures/metadata_syntax/metadata.json
264
- - spec/fixtures/plans/good.pp
265
- - spec/fixtures/plans/style.pp
266
- - spec/fixtures/plans/syntax.pp
267
- - spec/fixtures/spec/facter/facter_spec.rb
268
- - spec/fixtures/spec/fixtures/do_not_parse_me
269
- - spec/fixtures/task_metadata/task_bad.json
270
- - spec/fixtures/task_metadata/task_good.json
271
- - spec/fixtures/templates/good.epp
272
- - spec/fixtures/templates/good.erb
273
- - spec/fixtures/templates/no_method_error.erb
274
- - spec/fixtures/templates/style.erb
275
- - spec/fixtures/templates/syntax.epp
276
- - spec/fixtures/templates/syntax.erb
277
- - spec/octocatalog-diff/facts.yaml
278
- - spec/octocatalog-diff/hiera.yaml
279
- - spec/octocatalog-diff/manifests/site.pp
280
- - spec/octocatalog-diff/octocatalog_diff.cfg.rb
281
- - spec/puppet-check/cli_spec.rb
282
- - spec/puppet-check/data_parser_spec.rb
283
- - spec/puppet-check/output_results_spec.rb
284
- - spec/puppet-check/puppet_parser_spec.rb
285
- - spec/puppet-check/regression_check_spec.rb
286
- - spec/puppet-check/rspec_puppet_support_spec.rb
287
- - spec/puppet-check/ruby_parser_spec.rb
288
- - spec/puppet-check/tasks_spec.rb
289
- - spec/puppet-check/utils_spec.rb
290
- - spec/puppet_check_spec.rb
291
- - spec/spec_helper.rb
292
- - spec/system/system_spec.rb
241
+ test_files: []