chef-gen-flavor-example 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +2 -0
  3. data/.rubocop.yml +13 -0
  4. data/.travis.yml +6 -0
  5. data/Gemfile +3 -0
  6. data/Gemfile.lock +244 -0
  7. data/Guardfile +15 -0
  8. data/History.md +9 -0
  9. data/LICENSE +15 -0
  10. data/Manifest.txt +36 -0
  11. data/README.md +149 -0
  12. data/Rakefile +84 -0
  13. data/chef-gen-flavor-example.gemspec +72 -0
  14. data/code_generator/files/default/files_default_example_conf +34 -0
  15. data/code_generator/files/default/templates_default_example_conf_erb +22 -0
  16. data/code_generator/libraries/kitchen_helper.rb +13 -0
  17. data/code_generator/metadata.rb +2 -0
  18. data/code_generator/recipes/cookbook.rb +11 -0
  19. data/code_generator/templates/default/Berksfile.erb +3 -0
  20. data/code_generator/templates/default/CHANGELOG_md.erb +5 -0
  21. data/code_generator/templates/default/Gemfile.erb +25 -0
  22. data/code_generator/templates/default/Guardfile.erb +41 -0
  23. data/code_generator/templates/default/README_md.erb +92 -0
  24. data/code_generator/templates/default/Rakefile.erb +45 -0
  25. data/code_generator/templates/default/_kitchen_yml.erb +28 -0
  26. data/code_generator/templates/default/_rspec.erb +2 -0
  27. data/code_generator/templates/default/_rubocop_yml.erb +17 -0
  28. data/code_generator/templates/default/attributes_default_rb.erb +8 -0
  29. data/code_generator/templates/default/metadata_rb.erb +10 -0
  30. data/code_generator/templates/default/recipes_default_rb.erb +9 -0
  31. data/code_generator/templates/default/spec_recipes_default_spec_rb.erb +7 -0
  32. data/code_generator/templates/default/spec_spec_helper_rb.erb +92 -0
  33. data/code_generator/templates/default/test_integration_default_serverspec_recipes_default_spec_rb.erb +16 -0
  34. data/code_generator/templates/default/test_integration_default_serverspec_spec_helper_rb.erb +7 -0
  35. data/lib/chef_gen/flavor/example.rb +32 -0
  36. data/spec/lib/chef_gen/flavor/example_spec.rb +88 -0
  37. data/spec/spec_helper.rb +23 -0
  38. metadata +287 -0
@@ -0,0 +1,28 @@
1
+ <%% proxy_vars = {} %>
2
+ <%% %w(http_proxy https_proxy no_proxy).each do |envvar| %>
3
+ <%% if ENV.key?(envvar) %>
4
+ <%% proxy_vars[envvar] = ENV[envvar] %>
5
+ <%% end %>
6
+ <%% end %>
7
+ ---
8
+ driver:
9
+ name: vagrant
10
+
11
+ <%% if proxy_vars.size > 0 %>
12
+ driver_config:
13
+ <%= kitchen_proxy_vars(2) %>
14
+ <%% end %>
15
+
16
+ provisioner:
17
+ name: chef_zero
18
+ client_rb:
19
+ <%= kitchen_proxy_vars(4) %>
20
+
21
+ platforms:
22
+ - name: ubuntu-14.04
23
+ - name: centos-6.6
24
+
25
+ suites:
26
+ - name: default
27
+ run_list:
28
+ - recipe[<%= cookbook_name %>::default]
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
@@ -0,0 +1,17 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'vendor/**/*'
4
+
5
+ Style/SingleSpaceBeforeFirstArg:
6
+ Exclude:
7
+ - '**/Berksfile'
8
+ - '**/metadata.rb'
9
+
10
+ Style/FileName:
11
+ Exclude:
12
+ - '**/Gemfile'
13
+ - '**/Berksfile'
14
+
15
+ Style/RegexpLiteral:
16
+ Exclude:
17
+ - '**/Guardfile'
@@ -0,0 +1,8 @@
1
+ #
2
+ # Cookbook <%= cookbook_name %>
3
+ # Copyright (c) <%= year %> <%= copyright_holder %>
4
+ #
5
+
6
+ # replace these with something real
7
+ default['<%= cookbook_name %>']['attribute_1'] = 'foo'
8
+ default['<%= cookbook_name %>']['attribute_2'] = 'bar'
@@ -0,0 +1,10 @@
1
+ #
2
+ # Copyright (c) <%= year %> <%= copyright_holder %>
3
+ #
4
+
5
+ name '<%= cookbook_name %>'
6
+ maintainer '<%= copyright_holder %>'
7
+ maintainer_email '<%= email %>'
8
+ license '<%= license %>'
9
+ description 'Installs/Configures <%= cookbook_name %>'
10
+ version '0.1.0'
@@ -0,0 +1,9 @@
1
+ #
2
+ # Recipe: <%= cookbook_name %>::default
3
+ # Copyright (c) <%= year %> <%= copyright_holder %>
4
+ #
5
+
6
+ # a common pattern is to seperate the cookbook into distinct
7
+ # recipes and pull them all in via the default recipe
8
+ # include_recipe '<%= cookbook_name %>::recipe_a'
9
+ # include_recipe '<%= cookbook_name %>::recipe_b'
@@ -0,0 +1,7 @@
1
+ RSpec.describe '<%= cookbook_name %>::default' do
2
+ let(:chef_run) { ChefSpec::SoloRunner.new.converge(described_recipe) }
3
+
4
+ it 'converges successfully' do
5
+ expect(chef_run).to include_recipe(described_recipe)
6
+ end
7
+ end
@@ -0,0 +1,92 @@
1
+ require 'chefspec'
2
+ require 'chefspec/berkshelf'
3
+
4
+ # This file was generated by the `rspec --init` command. Conventionally, all
5
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
6
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
7
+ # file to always be loaded, without a need to explicitly require it in any files.
8
+ #
9
+ # Given that it is always loaded, you are encouraged to keep this file as
10
+ # light-weight as possible. Requiring heavyweight dependencies from this file
11
+ # will add to the boot time of your test suite on EVERY test run, even for an
12
+ # individual file that may not need all of that loaded. Instead, consider making
13
+ # a separate helper file that requires the additional dependencies and performs
14
+ # the additional setup, and require it from the spec files that actually need it.
15
+ #
16
+ # The `.rspec` file also contains a few flags that are not defaults but that
17
+ # users commonly want.
18
+ #
19
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
20
+ RSpec.configure do |config|
21
+ # rspec-expectations config goes here. You can use an alternate
22
+ # assertion/expectation library such as wrong or the stdlib/minitest
23
+ # assertions if you prefer.
24
+ config.expect_with :rspec do |expectations|
25
+ # This option will default to `true` in RSpec 4. It makes the `description`
26
+ # and `failure_message` of custom matchers include text for helper methods
27
+ # defined using `chain`, e.g.:
28
+ # be_bigger_than(2).and_smaller_than(4).description
29
+ # # => "be bigger than 2 and smaller than 4"
30
+ # ...rather than:
31
+ # # => "be bigger than 2"
32
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
33
+ end
34
+
35
+ # rspec-mocks config goes here. You can use an alternate test double
36
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
37
+ config.mock_with :rspec do |mocks|
38
+ # Prevents you from mocking or stubbing a method that does not exist on
39
+ # a real object. This is generally recommended, and will default to
40
+ # `true` in RSpec 4.
41
+ mocks.verify_partial_doubles = true
42
+ end
43
+
44
+ # The settings below are suggested to provide a good initial experience
45
+ # with RSpec, but feel free to customize to your heart's content.
46
+ # These two settings work together to allow you to limit a spec run
47
+ # to individual examples or groups you care about by tagging them with
48
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
49
+ # get run.
50
+ config.filter_run :focus
51
+ config.run_all_when_everything_filtered = true
52
+
53
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
54
+ # For more details, see:
55
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
56
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
57
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
58
+ config.disable_monkey_patching!
59
+
60
+ # This setting enables warnings. It's recommended, but in some cases may
61
+ # be too noisy due to issues in dependencies.
62
+ config.warnings = false
63
+
64
+ # Many RSpec users commonly either run the entire suite or an individual
65
+ # file, and it's useful to allow more verbose output when running an
66
+ # individual spec file.
67
+ if config.files_to_run.one?
68
+ # Use the documentation formatter for detailed output,
69
+ # unless a formatter has already been configured
70
+ # (e.g. via a command-line flag).
71
+ config.default_formatter = 'doc'
72
+ end
73
+
74
+ # Print the 10 slowest examples and example groups at the
75
+ # end of the spec run, to help surface which specs are running
76
+ # particularly slow.
77
+ config.profile_examples = 10
78
+
79
+ # Run specs in random order to surface order dependencies. If you find an
80
+ # order dependency and want to debug it, you can fix the order by providing
81
+ # the seed, which is printed after each run.
82
+ # --seed 1234
83
+ config.order = :random
84
+
85
+ # Seed global randomization in this process using the `--seed` CLI option.
86
+ # Setting this allows you to use `--seed` to deterministically reproduce
87
+ # test failures related to randomization by passing the same `--seed` value
88
+ # as the one that triggered the failure.
89
+ Kernel.srand config.seed
90
+ end
91
+
92
+ ChefSpec::Coverage.start! if ENV['COVERAGE']
@@ -0,0 +1,16 @@
1
+ #
2
+ # Copyright (c) <%= year %> <%= copyright_holder %>
3
+ #
4
+
5
+ require 'spec_helper'
6
+
7
+ # this is a generic ServerSpec test. It just runs 'whoami'
8
+ # and confirms that it returns 'root'. In a real test suite,
9
+ # you would want to test things like directories, users,
10
+ # processes, services, etc.
11
+ #
12
+ # for more information on the things ServerSpec can test, refer
13
+ # to the documentation at http://serverspec.org
14
+ describe command('whoami') do
15
+ its(:stdout) { should eq "root\n" }
16
+ end
@@ -0,0 +1,7 @@
1
+ #
2
+ # Copyright (c) <%= year %> <%= copyright_holder %>
3
+ #
4
+
5
+ require 'serverspec'
6
+
7
+ set :backend, :exec
@@ -0,0 +1,32 @@
1
+ require 'chef_gen/flavor_base'
2
+ require 'chef_gen/snippets'
3
+
4
+ # chef generators
5
+ module ChefGen
6
+ # a pluggable framework for distributing templates as ruby gems
7
+ module Flavor
8
+ # an example plugin for chef-gen-template
9
+ class Example < FlavorBase
10
+ include ChefGen::Snippet::CookbookBase
11
+ include ChefGen::Snippet::Attributes
12
+ include ChefGen::Snippet::Recipes
13
+ include ChefGen::Snippet::ChefSpec
14
+ include ChefGen::Snippet::TestKitchen
15
+ include ChefGen::Snippet::StandardIgnore
16
+ include ChefGen::Snippet::StyleRubocop
17
+ include ChefGen::Snippet::ExampleFile
18
+ include ChefGen::Snippet::ExampleTemplate
19
+
20
+ # the version of the gem
21
+ VERSION = '0.2.0'
22
+
23
+ class << self
24
+ # :nocov:
25
+ def description
26
+ 'Example cookbook template'
27
+ end
28
+ # :nocov:
29
+ end
30
+ end
31
+ end
32
+ end
@@ -0,0 +1,88 @@
1
+ require 'chef_gen/flavor/example'
2
+
3
+ RSpec.describe ChefGen::Flavor::Example do
4
+ before do
5
+ @ctx = double('ChefDK generator context')
6
+ allow(@ctx).to receive(:cookbook_root).and_return('/nonexistent')
7
+ allow(@ctx).to receive(:cookbook_name).and_return('foo')
8
+ allow(ChefDK::Generator).to receive(:context).and_return(@ctx)
9
+ @recipe = double('Chef recipe').as_null_object
10
+ @orig_stdout = $stdout
11
+ $stdout = File.open(File::NULL, 'w')
12
+ end
13
+
14
+ after do
15
+ $stdout = @orig_stdout
16
+ end
17
+
18
+ %w(
19
+ templates
20
+ templates/default
21
+ files
22
+ files/default
23
+ test
24
+ test/integration
25
+ test/integration/default
26
+ test/integration/default/serverspec
27
+ test/integration/default/serverspec/recipes
28
+ spec
29
+ spec/recipes
30
+ attributes
31
+ recipes
32
+ ).each do |dirname|
33
+ it "should create the directory #{dirname}" do
34
+ expect(@recipe).to receive(:directory).with(/#{dirname}$/)
35
+ template = ChefGen::Flavor::Example.new(@recipe)
36
+ template.generate
37
+ end
38
+ end
39
+
40
+ %w(
41
+ .rspec
42
+ Gemfile
43
+ Berksfile
44
+ Rakefile
45
+ Guardfile
46
+ .rubocop.yml
47
+ .kitchen.yml
48
+ test/integration/default/serverspec/spec_helper.rb
49
+ test/integration/default/serverspec/recipes/default_spec.rb
50
+ spec/spec_helper.rb
51
+ spec/recipes/default_spec.rb
52
+ recipes/default.rb
53
+ attributes/default.rb
54
+ metadata.rb
55
+ README.md
56
+ CHANGELOG.md
57
+ ).each do |filename|
58
+ it "should generate the file #{filename} from a template" do
59
+ expect(@recipe).to receive(:template).with(/#{filename}$/)
60
+ template = ChefGen::Flavor::Example.new(@recipe)
61
+ template.generate
62
+ end
63
+ end
64
+
65
+ %w(
66
+ templates/default/example.conf.erb
67
+ files/default/example.conf
68
+ ).each do |filename|
69
+ it "should write the file #{filename}" do
70
+ expect(@recipe).to receive(:cookbook_file).with(/#{filename}$/)
71
+ template = ChefGen::Flavor::Example.new(@recipe)
72
+ template.generate
73
+ end
74
+ end
75
+
76
+ it 'should write a chefignore and .gitignore' do
77
+ expect(@recipe).to receive(:file).with(/chefignore$/)
78
+ expect(@recipe).to receive(:file).with(/\.gitignore$/)
79
+ template = ChefGen::Flavor::Example.new(@recipe)
80
+ template.generate
81
+ end
82
+
83
+ it 'should display the actions taken' do
84
+ expect(@recipe).to receive(:ruby_block).with('report_actions_taken')
85
+ template = ChefGen::Flavor::Example.new(@recipe)
86
+ template.generate
87
+ end
88
+ end
@@ -0,0 +1,23 @@
1
+ if ENV['COVERAGE']
2
+ require 'simplecov'
3
+ require 'simplecov-console'
4
+ SimpleCov.formatters = [
5
+ SimpleCov::Formatter::HTMLFormatter,
6
+ SimpleCov::Formatter::Console
7
+ ]
8
+ SimpleCov.start
9
+ end
10
+
11
+ RSpec.configure do |config|
12
+ config.expect_with :rspec do |expectations|
13
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
14
+ end
15
+
16
+ config.mock_with :rspec do |mocks|
17
+ mocks.verify_partial_doubles = true
18
+ end
19
+
20
+ config.disable_monkey_patching!
21
+ config.order = :random
22
+ Kernel.srand config.seed
23
+ end
metadata ADDED
@@ -0,0 +1,287 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: chef-gen-flavor-example
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ platform: ruby
6
+ authors:
7
+ - James FitzGibbon
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-05-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: chef-gen-flavors
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.3'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rdoc
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '4.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: chef-dk
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '0.5'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '0.5'
55
+ - !ruby/object:Gem::Dependency
56
+ name: hoe
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.13'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.13'
69
+ - !ruby/object:Gem::Dependency
70
+ name: hoe-gemspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '10.3'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '10.3'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '3.1'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '3.1'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '2.12'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '2.12'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-rspec
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '4.2'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '4.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: guard-rake
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '0.0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '0.0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: guard-rubocop
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.2'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.2'
167
+ - !ruby/object:Gem::Dependency
168
+ name: simplecov
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '0.9'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '0.9'
181
+ - !ruby/object:Gem::Dependency
182
+ name: simplecov-console
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '0.2'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '0.2'
195
+ - !ruby/object:Gem::Dependency
196
+ name: yard
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - "~>"
200
+ - !ruby/object:Gem::Version
201
+ version: '0.8'
202
+ type: :development
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - "~>"
207
+ - !ruby/object:Gem::Version
208
+ version: '0.8'
209
+ description: |-
210
+ An example plugin for [chef-gen-flavors](https://rubygems.org/gems/chef-gen-flavors).
211
+
212
+ This plugin makes use of most of the snippets available, and is meant as a
213
+ reference implementation than for actual use. It demonstrates how to create
214
+ a template plugin with tests and serve as a good example of how to get
215
+ started writing your own templates for distribution.
216
+ email:
217
+ - james.i.fitzgibbon@nordstrom.com
218
+ executables: []
219
+ extensions: []
220
+ extra_rdoc_files:
221
+ - History.md
222
+ - Manifest.txt
223
+ - README.md
224
+ files:
225
+ - ".rspec"
226
+ - ".rubocop.yml"
227
+ - ".travis.yml"
228
+ - Gemfile
229
+ - Gemfile.lock
230
+ - Guardfile
231
+ - History.md
232
+ - LICENSE
233
+ - Manifest.txt
234
+ - README.md
235
+ - Rakefile
236
+ - chef-gen-flavor-example.gemspec
237
+ - code_generator/files/default/files_default_example_conf
238
+ - code_generator/files/default/templates_default_example_conf_erb
239
+ - code_generator/libraries/kitchen_helper.rb
240
+ - code_generator/metadata.rb
241
+ - code_generator/recipes/cookbook.rb
242
+ - code_generator/templates/default/Berksfile.erb
243
+ - code_generator/templates/default/CHANGELOG_md.erb
244
+ - code_generator/templates/default/Gemfile.erb
245
+ - code_generator/templates/default/Guardfile.erb
246
+ - code_generator/templates/default/README_md.erb
247
+ - code_generator/templates/default/Rakefile.erb
248
+ - code_generator/templates/default/_kitchen_yml.erb
249
+ - code_generator/templates/default/_rspec.erb
250
+ - code_generator/templates/default/_rubocop_yml.erb
251
+ - code_generator/templates/default/attributes_default_rb.erb
252
+ - code_generator/templates/default/metadata_rb.erb
253
+ - code_generator/templates/default/recipes_default_rb.erb
254
+ - code_generator/templates/default/spec_recipes_default_spec_rb.erb
255
+ - code_generator/templates/default/spec_spec_helper_rb.erb
256
+ - code_generator/templates/default/test_integration_default_serverspec_recipes_default_spec_rb.erb
257
+ - code_generator/templates/default/test_integration_default_serverspec_spec_helper_rb.erb
258
+ - lib/chef_gen/flavor/example.rb
259
+ - spec/lib/chef_gen/flavor/example_spec.rb
260
+ - spec/spec_helper.rb
261
+ homepage: https://github.com/Nordstrom/chef-gen-flavor-example
262
+ licenses:
263
+ - apache2
264
+ metadata: {}
265
+ post_install_message:
266
+ rdoc_options:
267
+ - "--main"
268
+ - README.md
269
+ require_paths:
270
+ - lib
271
+ required_ruby_version: !ruby/object:Gem::Requirement
272
+ requirements:
273
+ - - ">="
274
+ - !ruby/object:Gem::Version
275
+ version: '0'
276
+ required_rubygems_version: !ruby/object:Gem::Requirement
277
+ requirements:
278
+ - - ">="
279
+ - !ruby/object:Gem::Version
280
+ version: '0'
281
+ requirements: []
282
+ rubyforge_project:
283
+ rubygems_version: 2.4.4
284
+ signing_key:
285
+ specification_version: 4
286
+ summary: An example plugin for [chef-gen-flavors](https://rubygems.org/gems/chef-gen-flavors)
287
+ test_files: []