halyard-puppet-lint 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (82) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.travis.yml +10 -0
  4. data/Gemfile +3 -0
  5. data/LICENSE +20 -0
  6. data/README.md +210 -0
  7. data/Rakefile +7 -0
  8. data/bin/puppet-lint +7 -0
  9. data/lib/puppet-lint.rb +214 -0
  10. data/lib/puppet-lint/bin.rb +79 -0
  11. data/lib/puppet-lint/checkplugin.rb +176 -0
  12. data/lib/puppet-lint/checks.rb +91 -0
  13. data/lib/puppet-lint/configuration.rb +153 -0
  14. data/lib/puppet-lint/data.rb +521 -0
  15. data/lib/puppet-lint/lexer.rb +373 -0
  16. data/lib/puppet-lint/lexer/token.rb +101 -0
  17. data/lib/puppet-lint/monkeypatches.rb +2 -0
  18. data/lib/puppet-lint/monkeypatches/string_percent.rb +52 -0
  19. data/lib/puppet-lint/monkeypatches/string_prepend.rb +13 -0
  20. data/lib/puppet-lint/optparser.rb +118 -0
  21. data/lib/puppet-lint/plugins.rb +74 -0
  22. data/lib/puppet-lint/plugins/check_classes.rb +285 -0
  23. data/lib/puppet-lint/plugins/check_comments.rb +55 -0
  24. data/lib/puppet-lint/plugins/check_conditionals.rb +65 -0
  25. data/lib/puppet-lint/plugins/check_documentation.rb +31 -0
  26. data/lib/puppet-lint/plugins/check_nodes.rb +29 -0
  27. data/lib/puppet-lint/plugins/check_resources.rb +194 -0
  28. data/lib/puppet-lint/plugins/check_strings.rb +174 -0
  29. data/lib/puppet-lint/plugins/check_variables.rb +19 -0
  30. data/lib/puppet-lint/plugins/check_whitespace.rb +170 -0
  31. data/lib/puppet-lint/tasks/puppet-lint.rb +91 -0
  32. data/lib/puppet-lint/version.rb +3 -0
  33. data/puppet-lint.gemspec +24 -0
  34. data/spec/fixtures/test/manifests/fail.pp +2 -0
  35. data/spec/fixtures/test/manifests/ignore.pp +1 -0
  36. data/spec/fixtures/test/manifests/ignore_multiple_block.pp +6 -0
  37. data/spec/fixtures/test/manifests/ignore_multiple_line.pp +2 -0
  38. data/spec/fixtures/test/manifests/ignore_reason.pp +1 -0
  39. data/spec/fixtures/test/manifests/init.pp +3 -0
  40. data/spec/fixtures/test/manifests/malformed.pp +1 -0
  41. data/spec/fixtures/test/manifests/url_interpolation.pp +12 -0
  42. data/spec/fixtures/test/manifests/warning.pp +2 -0
  43. data/spec/puppet-lint/bin_spec.rb +326 -0
  44. data/spec/puppet-lint/configuration_spec.rb +56 -0
  45. data/spec/puppet-lint/ignore_overrides_spec.rb +109 -0
  46. data/spec/puppet-lint/lexer/token_spec.rb +18 -0
  47. data/spec/puppet-lint/lexer_spec.rb +783 -0
  48. data/spec/puppet-lint/plugins/check_classes/autoloader_layout_spec.rb +105 -0
  49. data/spec/puppet-lint/plugins/check_classes/class_inherits_from_params_class_spec.rb +35 -0
  50. data/spec/puppet-lint/plugins/check_classes/inherits_across_namespaces_spec.rb +33 -0
  51. data/spec/puppet-lint/plugins/check_classes/names_containing_dash_spec.rb +45 -0
  52. data/spec/puppet-lint/plugins/check_classes/nested_classes_or_defines_spec.rb +76 -0
  53. data/spec/puppet-lint/plugins/check_classes/parameter_order_spec.rb +73 -0
  54. data/spec/puppet-lint/plugins/check_classes/right_to_left_relationship_spec.rb +25 -0
  55. data/spec/puppet-lint/plugins/check_classes/variable_scope_spec.rb +196 -0
  56. data/spec/puppet-lint/plugins/check_comments/slash_comments_spec.rb +45 -0
  57. data/spec/puppet-lint/plugins/check_comments/star_comments_spec.rb +84 -0
  58. data/spec/puppet-lint/plugins/check_conditionals/case_without_default_spec.rb +98 -0
  59. data/spec/puppet-lint/plugins/check_conditionals/selector_inside_resource_spec.rb +36 -0
  60. data/spec/puppet-lint/plugins/check_documentation/documentation_spec.rb +52 -0
  61. data/spec/puppet-lint/plugins/check_nodes/unquoted_node_name_spec.rb +146 -0
  62. data/spec/puppet-lint/plugins/check_resources/duplicate_params_spec.rb +100 -0
  63. data/spec/puppet-lint/plugins/check_resources/ensure_first_param_spec.rb +55 -0
  64. data/spec/puppet-lint/plugins/check_resources/ensure_not_symlink_target_spec.rb +89 -0
  65. data/spec/puppet-lint/plugins/check_resources/file_mode_spec.rb +113 -0
  66. data/spec/puppet-lint/plugins/check_resources/unquoted_file_mode_spec.rb +45 -0
  67. data/spec/puppet-lint/plugins/check_resources/unquoted_resource_title_spec.rb +216 -0
  68. data/spec/puppet-lint/plugins/check_strings/double_quoted_strings_spec.rb +199 -0
  69. data/spec/puppet-lint/plugins/check_strings/only_variable_string_spec.rb +114 -0
  70. data/spec/puppet-lint/plugins/check_strings/puppet_url_without_modules_spec.rb +62 -0
  71. data/spec/puppet-lint/plugins/check_strings/quoted_booleans_spec.rb +129 -0
  72. data/spec/puppet-lint/plugins/check_strings/single_quote_string_with_variables_spec.rb +17 -0
  73. data/spec/puppet-lint/plugins/check_strings/variables_not_enclosed_spec.rb +73 -0
  74. data/spec/puppet-lint/plugins/check_variables/variable_contains_dash_spec.rb +37 -0
  75. data/spec/puppet-lint/plugins/check_whitespace/2sp_soft_tabs_spec.rb +21 -0
  76. data/spec/puppet-lint/plugins/check_whitespace/80chars_spec.rb +54 -0
  77. data/spec/puppet-lint/plugins/check_whitespace/arrow_alignment_spec.rb +524 -0
  78. data/spec/puppet-lint/plugins/check_whitespace/hard_tabs_spec.rb +45 -0
  79. data/spec/puppet-lint/plugins/check_whitespace/trailing_whitespace_spec.rb +101 -0
  80. data/spec/puppet-lint_spec.rb +20 -0
  81. data/spec/spec_helper.rb +129 -0
  82. metadata +229 -0
@@ -0,0 +1,45 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'hard_tabs' do
4
+ let(:msg) { 'tab character found' }
5
+
6
+ context 'with fix disabled' do
7
+ context 'hard tabs indents' do
8
+ let(:code) { "\tfoo => bar," }
9
+
10
+ it 'should only detect a single problem' do
11
+ expect(problems).to have(1).problem
12
+ end
13
+
14
+ it 'should create an error' do
15
+ expect(problems).to contain_error(msg).on_line(1).in_column(1)
16
+ end
17
+ end
18
+ end
19
+
20
+ context 'with fix enabled' do
21
+ before do
22
+ PuppetLint.configuration.fix = true
23
+ end
24
+
25
+ after do
26
+ PuppetLint.configuration.fix = false
27
+ end
28
+
29
+ context 'hard tabs indents' do
30
+ let(:code) { "\tfoo => bar," }
31
+
32
+ it 'should only detect a single problem' do
33
+ expect(problems).to have(1).problem
34
+ end
35
+
36
+ it 'should fix the manifest' do
37
+ expect(problems).to contain_fixed(msg).on_line(1).in_column(1)
38
+ end
39
+
40
+ it 'should convert the tab characters into spaces' do
41
+ expect(manifest).to eq(" foo => bar,")
42
+ end
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,101 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'trailing_whitespace' do
4
+ let(:msg) { 'trailing whitespace found' }
5
+
6
+ context 'with fix disabled' do
7
+ context 'line with trailing whitespace' do
8
+ let(:code) { "foo " }
9
+
10
+ it 'should only detect a single problem' do
11
+ expect(problems).to have(1).problem
12
+ end
13
+
14
+ it 'should create an error' do
15
+ expect(problems).to contain_error(msg).on_line(1).in_column(4)
16
+ end
17
+ end
18
+
19
+ context 'line without code and trailing whitespace' do
20
+ let(:code) { "
21
+ class {
22
+
23
+ }
24
+ " }
25
+
26
+ it 'should only detect a single problem' do
27
+ expect(problems).to have(1).problem
28
+ end
29
+
30
+ it 'should create an error' do
31
+ expect(problems).to contain_error(msg).on_line(3).in_column(1)
32
+ end
33
+ end
34
+ end
35
+
36
+ context 'with fix enabled' do
37
+ before do
38
+ PuppetLint.configuration.fix = true
39
+ end
40
+
41
+ after do
42
+ PuppetLint.configuration.fix = false
43
+ end
44
+
45
+ context 'single line with trailing whitespace' do
46
+ let(:code) { "foo " }
47
+
48
+ it 'should only detect a single problem' do
49
+ expect(problems).to have(1).problem
50
+ end
51
+
52
+ it 'should fix the manifest' do
53
+ expect(problems).to contain_fixed(msg).on_line(1).in_column(4)
54
+ end
55
+
56
+ it 'should remove the trailing whitespace' do
57
+ expect(manifest).to eq('foo')
58
+ end
59
+ end
60
+
61
+ context 'multiple lines with trailing whitespace' do
62
+ let(:code) { "foo \nbar" }
63
+
64
+ it 'should only detect a single problem' do
65
+ expect(problems).to have(1).problem
66
+ end
67
+
68
+ it 'should fix the manifest' do
69
+ expect(problems).to contain_fixed(msg).on_line(1).in_column(4)
70
+ end
71
+
72
+ it 'should remove the trailing whitespace' do
73
+ expect(manifest).to eq("foo\nbar")
74
+ end
75
+ end
76
+
77
+ context 'line without code and trailing whitespace' do
78
+ let(:code) { "
79
+ class foo {
80
+
81
+ }
82
+ " }
83
+ let(:fixed) { "
84
+ class foo {
85
+
86
+ }
87
+ " }
88
+ it 'should only detect a single problem' do
89
+ expect(problems).to have(1).problem
90
+ end
91
+
92
+ it 'should create an error' do
93
+ expect(problems).to contain_fixed(msg).on_line(3).in_column(1)
94
+ end
95
+
96
+ it 'should remove the trailing whitespace' do
97
+ expect(manifest).to eq(fixed)
98
+ end
99
+ end
100
+ end
101
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe PuppetLint do
4
+ subject { PuppetLint.new }
5
+
6
+ it 'should accept manifests as a string' do
7
+ subject.code = "class foo { }"
8
+ expect(subject.code).to_not be_nil
9
+ end
10
+
11
+ it 'should have support for % with a hash' do
12
+ string = 'replace %{hash}' % {:hash => 'replaced'}
13
+ expect(string).to match('replace replaced')
14
+ end
15
+
16
+ it 'should not break regular % support' do
17
+ string = 'replace %s %s' % ['get','replaced']
18
+ expect(string).to match('replace get replaced')
19
+ end
20
+ end
@@ -0,0 +1,129 @@
1
+ require 'puppet-lint'
2
+ require 'rspec/its'
3
+ require 'rspec/collection_matchers'
4
+
5
+ module RSpec
6
+ module LintExampleGroup
7
+ class HaveProblem
8
+ def initialize(method, message)
9
+ @expected_problem = {
10
+ :kind => method.to_s.gsub(/\Acontain_/, '').to_sym,
11
+ :message => message,
12
+ }
13
+ @description = ["contain a #{@expected_problem[:kind]}"]
14
+ end
15
+
16
+ def on_line(line)
17
+ @expected_problem[:line] = line
18
+ @description << "on line #{line}"
19
+ self
20
+ end
21
+
22
+ def in_column(column)
23
+ @expected_problem[:column] = column
24
+ @description << "starting in column #{column}"
25
+ self
26
+ end
27
+
28
+ def with_reason(reason)
29
+ @expected_problem[:reason] = reason
30
+ @description << "with reason '#{reason}'"
31
+ self
32
+ end
33
+
34
+ def matches?(problems)
35
+ @problems = problems
36
+
37
+ problems.any? do |problem|
38
+ ret = true
39
+ @expected_problem.each do |key, value|
40
+ if !problem.key?(key)
41
+ ret = false
42
+ break
43
+ elsif problem[key] != value
44
+ ret = false
45
+ break
46
+ end
47
+ end
48
+ ret
49
+ end
50
+ end
51
+
52
+ def description
53
+ @description.join(' ')
54
+ end
55
+
56
+ def check_attr(attr, prefix)
57
+ unless @expected_problem[attr] == @problems.first[attr]
58
+ expected = @expected_problem[attr].inspect
59
+ actual = @problems.first[attr].inspect
60
+ "#{prefix} #{expected}, but it was #{actual}"
61
+ end
62
+ end
63
+
64
+ def failure_message
65
+ case @problems.length
66
+ when 0
67
+ "expected that the check would create a problem but it did not"
68
+ when 1
69
+ messages = ["expected that the problem"]
70
+
71
+ messages << check_attr(:kind, 'would be of kind')
72
+ messages << check_attr(:message, 'would have the message')
73
+ messages << check_attr(:linenumber, 'would be on line')
74
+ messages << check_attr(:column, 'would start on column')
75
+
76
+ messages.compact.join("\n ")
77
+ else
78
+ [
79
+ "expected that the check would create",
80
+ PP.pp(@expected_problem, '').strip,
81
+ "but it instead created",
82
+ PP.pp(@problems, ''),
83
+ ].join("\n")
84
+ end
85
+ end
86
+
87
+ def failure_message_when_negated
88
+ "expected that the check would not create the problem, but it did"
89
+ end
90
+ end
91
+
92
+ def method_missing(method, *args, &block)
93
+ return HaveProblem.new(method, args.first) if method.to_s =~ /\Acontain_/
94
+ super
95
+ end
96
+
97
+ def problems
98
+ subject.problems
99
+ end
100
+
101
+ def manifest
102
+ subject.manifest
103
+ end
104
+
105
+ def subject
106
+ klass = PuppetLint::Checks.new
107
+ filepath = self.respond_to?(:path) ? path : ''
108
+ klass.load_data(filepath, code)
109
+ check_name = self.class.top_level_description.to_sym
110
+ check = PuppetLint.configuration.check_object[check_name].new
111
+ klass.problems = check.run
112
+ if PuppetLint.configuration.fix
113
+ klass.problems = check.fix_problems
114
+ end
115
+ klass
116
+ end
117
+ end
118
+ end
119
+
120
+ RSpec.configure do |config|
121
+ config.mock_framework = :rspec
122
+ config.include RSpec::LintExampleGroup, {
123
+ :type => :lint,
124
+ :file_path => Regexp.compile(%w{spec puppet-lint plugins}.join('[\\\/]')),
125
+ }
126
+ config.expect_with :rspec do |c|
127
+ c.syntax = :expect
128
+ end
129
+ end
metadata ADDED
@@ -0,0 +1,229 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: halyard-puppet-lint
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.0
5
+ platform: ruby
6
+ authors:
7
+ - Tim Sharpe
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-10-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '10.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '3.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '3.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec-its
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-collection_matchers
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.0'
69
+ description: |-
70
+ Checks your Puppet manifests against the Puppetlabs
71
+ style guide and alerts you to any discrepancies.
72
+ email: tim@sharpe.id.au
73
+ executables:
74
+ - puppet-lint
75
+ extensions: []
76
+ extra_rdoc_files: []
77
+ files:
78
+ - ".gitignore"
79
+ - ".travis.yml"
80
+ - Gemfile
81
+ - LICENSE
82
+ - README.md
83
+ - Rakefile
84
+ - bin/puppet-lint
85
+ - lib/puppet-lint.rb
86
+ - lib/puppet-lint/bin.rb
87
+ - lib/puppet-lint/checkplugin.rb
88
+ - lib/puppet-lint/checks.rb
89
+ - lib/puppet-lint/configuration.rb
90
+ - lib/puppet-lint/data.rb
91
+ - lib/puppet-lint/lexer.rb
92
+ - lib/puppet-lint/lexer/token.rb
93
+ - lib/puppet-lint/monkeypatches.rb
94
+ - lib/puppet-lint/monkeypatches/string_percent.rb
95
+ - lib/puppet-lint/monkeypatches/string_prepend.rb
96
+ - lib/puppet-lint/optparser.rb
97
+ - lib/puppet-lint/plugins.rb
98
+ - lib/puppet-lint/plugins/check_classes.rb
99
+ - lib/puppet-lint/plugins/check_comments.rb
100
+ - lib/puppet-lint/plugins/check_conditionals.rb
101
+ - lib/puppet-lint/plugins/check_documentation.rb
102
+ - lib/puppet-lint/plugins/check_nodes.rb
103
+ - lib/puppet-lint/plugins/check_resources.rb
104
+ - lib/puppet-lint/plugins/check_strings.rb
105
+ - lib/puppet-lint/plugins/check_variables.rb
106
+ - lib/puppet-lint/plugins/check_whitespace.rb
107
+ - lib/puppet-lint/tasks/puppet-lint.rb
108
+ - lib/puppet-lint/version.rb
109
+ - puppet-lint.gemspec
110
+ - spec/fixtures/test/manifests/fail.pp
111
+ - spec/fixtures/test/manifests/ignore.pp
112
+ - spec/fixtures/test/manifests/ignore_multiple_block.pp
113
+ - spec/fixtures/test/manifests/ignore_multiple_line.pp
114
+ - spec/fixtures/test/manifests/ignore_reason.pp
115
+ - spec/fixtures/test/manifests/init.pp
116
+ - spec/fixtures/test/manifests/malformed.pp
117
+ - spec/fixtures/test/manifests/url_interpolation.pp
118
+ - spec/fixtures/test/manifests/warning.pp
119
+ - spec/puppet-lint/bin_spec.rb
120
+ - spec/puppet-lint/configuration_spec.rb
121
+ - spec/puppet-lint/ignore_overrides_spec.rb
122
+ - spec/puppet-lint/lexer/token_spec.rb
123
+ - spec/puppet-lint/lexer_spec.rb
124
+ - spec/puppet-lint/plugins/check_classes/autoloader_layout_spec.rb
125
+ - spec/puppet-lint/plugins/check_classes/class_inherits_from_params_class_spec.rb
126
+ - spec/puppet-lint/plugins/check_classes/inherits_across_namespaces_spec.rb
127
+ - spec/puppet-lint/plugins/check_classes/names_containing_dash_spec.rb
128
+ - spec/puppet-lint/plugins/check_classes/nested_classes_or_defines_spec.rb
129
+ - spec/puppet-lint/plugins/check_classes/parameter_order_spec.rb
130
+ - spec/puppet-lint/plugins/check_classes/right_to_left_relationship_spec.rb
131
+ - spec/puppet-lint/plugins/check_classes/variable_scope_spec.rb
132
+ - spec/puppet-lint/plugins/check_comments/slash_comments_spec.rb
133
+ - spec/puppet-lint/plugins/check_comments/star_comments_spec.rb
134
+ - spec/puppet-lint/plugins/check_conditionals/case_without_default_spec.rb
135
+ - spec/puppet-lint/plugins/check_conditionals/selector_inside_resource_spec.rb
136
+ - spec/puppet-lint/plugins/check_documentation/documentation_spec.rb
137
+ - spec/puppet-lint/plugins/check_nodes/unquoted_node_name_spec.rb
138
+ - spec/puppet-lint/plugins/check_resources/duplicate_params_spec.rb
139
+ - spec/puppet-lint/plugins/check_resources/ensure_first_param_spec.rb
140
+ - spec/puppet-lint/plugins/check_resources/ensure_not_symlink_target_spec.rb
141
+ - spec/puppet-lint/plugins/check_resources/file_mode_spec.rb
142
+ - spec/puppet-lint/plugins/check_resources/unquoted_file_mode_spec.rb
143
+ - spec/puppet-lint/plugins/check_resources/unquoted_resource_title_spec.rb
144
+ - spec/puppet-lint/plugins/check_strings/double_quoted_strings_spec.rb
145
+ - spec/puppet-lint/plugins/check_strings/only_variable_string_spec.rb
146
+ - spec/puppet-lint/plugins/check_strings/puppet_url_without_modules_spec.rb
147
+ - spec/puppet-lint/plugins/check_strings/quoted_booleans_spec.rb
148
+ - spec/puppet-lint/plugins/check_strings/single_quote_string_with_variables_spec.rb
149
+ - spec/puppet-lint/plugins/check_strings/variables_not_enclosed_spec.rb
150
+ - spec/puppet-lint/plugins/check_variables/variable_contains_dash_spec.rb
151
+ - spec/puppet-lint/plugins/check_whitespace/2sp_soft_tabs_spec.rb
152
+ - spec/puppet-lint/plugins/check_whitespace/80chars_spec.rb
153
+ - spec/puppet-lint/plugins/check_whitespace/arrow_alignment_spec.rb
154
+ - spec/puppet-lint/plugins/check_whitespace/hard_tabs_spec.rb
155
+ - spec/puppet-lint/plugins/check_whitespace/trailing_whitespace_spec.rb
156
+ - spec/puppet-lint_spec.rb
157
+ - spec/spec_helper.rb
158
+ homepage: https://github.com/rodjek/puppet-lint/
159
+ licenses: []
160
+ metadata: {}
161
+ post_install_message:
162
+ rdoc_options: []
163
+ require_paths:
164
+ - lib
165
+ required_ruby_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - ">="
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ required_rubygems_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ requirements: []
176
+ rubyforge_project:
177
+ rubygems_version: 2.4.5.1
178
+ signing_key:
179
+ specification_version: 4
180
+ summary: Ensure your Puppet manifests conform with the Puppetlabs style guide
181
+ test_files:
182
+ - spec/fixtures/test/manifests/fail.pp
183
+ - spec/fixtures/test/manifests/ignore.pp
184
+ - spec/fixtures/test/manifests/ignore_multiple_block.pp
185
+ - spec/fixtures/test/manifests/ignore_multiple_line.pp
186
+ - spec/fixtures/test/manifests/ignore_reason.pp
187
+ - spec/fixtures/test/manifests/init.pp
188
+ - spec/fixtures/test/manifests/malformed.pp
189
+ - spec/fixtures/test/manifests/url_interpolation.pp
190
+ - spec/fixtures/test/manifests/warning.pp
191
+ - spec/puppet-lint/bin_spec.rb
192
+ - spec/puppet-lint/configuration_spec.rb
193
+ - spec/puppet-lint/ignore_overrides_spec.rb
194
+ - spec/puppet-lint/lexer/token_spec.rb
195
+ - spec/puppet-lint/lexer_spec.rb
196
+ - spec/puppet-lint/plugins/check_classes/autoloader_layout_spec.rb
197
+ - spec/puppet-lint/plugins/check_classes/class_inherits_from_params_class_spec.rb
198
+ - spec/puppet-lint/plugins/check_classes/inherits_across_namespaces_spec.rb
199
+ - spec/puppet-lint/plugins/check_classes/names_containing_dash_spec.rb
200
+ - spec/puppet-lint/plugins/check_classes/nested_classes_or_defines_spec.rb
201
+ - spec/puppet-lint/plugins/check_classes/parameter_order_spec.rb
202
+ - spec/puppet-lint/plugins/check_classes/right_to_left_relationship_spec.rb
203
+ - spec/puppet-lint/plugins/check_classes/variable_scope_spec.rb
204
+ - spec/puppet-lint/plugins/check_comments/slash_comments_spec.rb
205
+ - spec/puppet-lint/plugins/check_comments/star_comments_spec.rb
206
+ - spec/puppet-lint/plugins/check_conditionals/case_without_default_spec.rb
207
+ - spec/puppet-lint/plugins/check_conditionals/selector_inside_resource_spec.rb
208
+ - spec/puppet-lint/plugins/check_documentation/documentation_spec.rb
209
+ - spec/puppet-lint/plugins/check_nodes/unquoted_node_name_spec.rb
210
+ - spec/puppet-lint/plugins/check_resources/duplicate_params_spec.rb
211
+ - spec/puppet-lint/plugins/check_resources/ensure_first_param_spec.rb
212
+ - spec/puppet-lint/plugins/check_resources/ensure_not_symlink_target_spec.rb
213
+ - spec/puppet-lint/plugins/check_resources/file_mode_spec.rb
214
+ - spec/puppet-lint/plugins/check_resources/unquoted_file_mode_spec.rb
215
+ - spec/puppet-lint/plugins/check_resources/unquoted_resource_title_spec.rb
216
+ - spec/puppet-lint/plugins/check_strings/double_quoted_strings_spec.rb
217
+ - spec/puppet-lint/plugins/check_strings/only_variable_string_spec.rb
218
+ - spec/puppet-lint/plugins/check_strings/puppet_url_without_modules_spec.rb
219
+ - spec/puppet-lint/plugins/check_strings/quoted_booleans_spec.rb
220
+ - spec/puppet-lint/plugins/check_strings/single_quote_string_with_variables_spec.rb
221
+ - spec/puppet-lint/plugins/check_strings/variables_not_enclosed_spec.rb
222
+ - spec/puppet-lint/plugins/check_variables/variable_contains_dash_spec.rb
223
+ - spec/puppet-lint/plugins/check_whitespace/2sp_soft_tabs_spec.rb
224
+ - spec/puppet-lint/plugins/check_whitespace/80chars_spec.rb
225
+ - spec/puppet-lint/plugins/check_whitespace/arrow_alignment_spec.rb
226
+ - spec/puppet-lint/plugins/check_whitespace/hard_tabs_spec.rb
227
+ - spec/puppet-lint/plugins/check_whitespace/trailing_whitespace_spec.rb
228
+ - spec/puppet-lint_spec.rb
229
+ - spec/spec_helper.rb