galvanize 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.rspec +3 -0
  4. data/.travis.yml +7 -0
  5. data/CODE_OF_CONDUCT.md +74 -0
  6. data/Gemfile +17 -0
  7. data/Gemfile.lock +242 -0
  8. data/LICENSE.txt +21 -0
  9. data/README.md +64 -0
  10. data/Rakefile +6 -0
  11. data/bin/console +12 -0
  12. data/bin/gal +10 -0
  13. data/bin/galvanize +10 -0
  14. data/bin/setup +8 -0
  15. data/galvanize.gemspec +25 -0
  16. data/lib/chef-dk/command/generator_commands/habichef.rb +82 -0
  17. data/lib/chef-dk/configurable-patch.rb +15 -0
  18. data/lib/chef-dk/skeletons/code_generator/files/default/Berksfile +4 -0
  19. data/lib/chef-dk/skeletons/code_generator/files/default/build_cookbook/README.md +146 -0
  20. data/lib/chef-dk/skeletons/code_generator/files/default/build_cookbook/kitchen.yml +21 -0
  21. data/lib/chef-dk/skeletons/code_generator/files/default/build_cookbook/test-fixture-recipe.rb +9 -0
  22. data/lib/chef-dk/skeletons/code_generator/files/default/chefignore +109 -0
  23. data/lib/chef-dk/skeletons/code_generator/files/default/cookbook_readmes/README-policy.md +9 -0
  24. data/lib/chef-dk/skeletons/code_generator/files/default/cookbook_readmes/README.md +66 -0
  25. data/lib/chef-dk/skeletons/code_generator/files/default/delivery-config.json +17 -0
  26. data/lib/chef-dk/skeletons/code_generator/files/default/delivery-project.toml +36 -0
  27. data/lib/chef-dk/skeletons/code_generator/files/default/gitignore +22 -0
  28. data/lib/chef-dk/skeletons/code_generator/files/default/repo/README.md +24 -0
  29. data/lib/chef-dk/skeletons/code_generator/files/default/repo/cookbooks/example/README.md +27 -0
  30. data/lib/chef-dk/skeletons/code_generator/files/default/repo/cookbooks/example/attributes/default.rb +8 -0
  31. data/lib/chef-dk/skeletons/code_generator/files/default/repo/cookbooks/example/metadata.rb +7 -0
  32. data/lib/chef-dk/skeletons/code_generator/files/default/repo/cookbooks/example/recipes/default.rb +9 -0
  33. data/lib/chef-dk/skeletons/code_generator/files/default/repo/data_bags/README.md +56 -0
  34. data/lib/chef-dk/skeletons/code_generator/files/default/repo/data_bags/example/example_item.json +4 -0
  35. data/lib/chef-dk/skeletons/code_generator/files/default/repo/dot-chef-repo.txt +6 -0
  36. data/lib/chef-dk/skeletons/code_generator/files/default/repo/environments/README.md +9 -0
  37. data/lib/chef-dk/skeletons/code_generator/files/default/repo/environments/example.json +13 -0
  38. data/lib/chef-dk/skeletons/code_generator/files/default/repo/policyfiles/README.md +24 -0
  39. data/lib/chef-dk/skeletons/code_generator/files/default/repo/roles/README.md +9 -0
  40. data/lib/chef-dk/skeletons/code_generator/files/default/repo/roles/example.json +13 -0
  41. data/lib/chef-dk/skeletons/code_generator/files/default/spec_helper.rb +3 -0
  42. data/lib/chef-dk/skeletons/code_generator/files/default/spec_helper_policyfile.rb +3 -0
  43. data/lib/chef-dk/skeletons/code_generator/metadata.rb +8 -0
  44. data/lib/chef-dk/skeletons/code_generator/recipes/attribute.rb +13 -0
  45. data/lib/chef-dk/skeletons/code_generator/recipes/build_cookbook.rb +177 -0
  46. data/lib/chef-dk/skeletons/code_generator/recipes/cookbook.rb +161 -0
  47. data/lib/chef-dk/skeletons/code_generator/recipes/cookbook_file.rb +25 -0
  48. data/lib/chef-dk/skeletons/code_generator/recipes/habichef.rb +92 -0
  49. data/lib/chef-dk/skeletons/code_generator/recipes/helpers.rb +21 -0
  50. data/lib/chef-dk/skeletons/code_generator/recipes/policyfile.rb +9 -0
  51. data/lib/chef-dk/skeletons/code_generator/recipes/recipe.rb +52 -0
  52. data/lib/chef-dk/skeletons/code_generator/recipes/repo.rb +68 -0
  53. data/lib/chef-dk/skeletons/code_generator/recipes/resource.rb +13 -0
  54. data/lib/chef-dk/skeletons/code_generator/recipes/template.rb +32 -0
  55. data/lib/chef-dk/skeletons/code_generator/templates/default/CHANGELOG.md.erb +11 -0
  56. data/lib/chef-dk/skeletons/code_generator/templates/default/LICENSE.all_rights.erb +3 -0
  57. data/lib/chef-dk/skeletons/code_generator/templates/default/LICENSE.apachev2.erb +201 -0
  58. data/lib/chef-dk/skeletons/code_generator/templates/default/LICENSE.gplv2.erb +339 -0
  59. data/lib/chef-dk/skeletons/code_generator/templates/default/LICENSE.gplv3.erb +674 -0
  60. data/lib/chef-dk/skeletons/code_generator/templates/default/LICENSE.mit.erb +21 -0
  61. data/lib/chef-dk/skeletons/code_generator/templates/default/Policyfile.rb.erb +25 -0
  62. data/lib/chef-dk/skeletons/code_generator/templates/default/README.md.erb +4 -0
  63. data/lib/chef-dk/skeletons/code_generator/templates/default/attribute.rb.erb +0 -0
  64. data/lib/chef-dk/skeletons/code_generator/templates/default/build_cookbook/Berksfile.erb +7 -0
  65. data/lib/chef-dk/skeletons/code_generator/templates/default/build_cookbook/metadata.rb.erb +10 -0
  66. data/lib/chef-dk/skeletons/code_generator/templates/default/build_cookbook/recipe.rb.erb +8 -0
  67. data/lib/chef-dk/skeletons/code_generator/templates/default/cookbook_file.erb +0 -0
  68. data/lib/chef-dk/skeletons/code_generator/templates/default/gitignore +28 -0
  69. data/lib/chef-dk/skeletons/code_generator/templates/default/habitat/README.md.erb +96 -0
  70. data/lib/chef-dk/skeletons/code_generator/templates/default/habitat/default.toml.erb +18 -0
  71. data/lib/chef-dk/skeletons/code_generator/templates/default/habitat/plan.sh.erb +16 -0
  72. data/lib/chef-dk/skeletons/code_generator/templates/default/helpers.rb.erb +39 -0
  73. data/lib/chef-dk/skeletons/code_generator/templates/default/inspec_default_test.rb.erb +16 -0
  74. data/lib/chef-dk/skeletons/code_generator/templates/default/kitchen.yml.erb +26 -0
  75. data/lib/chef-dk/skeletons/code_generator/templates/default/kitchen_dokken.yml.erb +31 -0
  76. data/lib/chef-dk/skeletons/code_generator/templates/default/kitchen_policyfile.yml.erb +33 -0
  77. data/lib/chef-dk/skeletons/code_generator/templates/default/metadata.rb.erb +20 -0
  78. data/lib/chef-dk/skeletons/code_generator/templates/default/policyfiles/base.rb.erb +30 -0
  79. data/lib/chef-dk/skeletons/code_generator/templates/default/recipe.rb.erb +5 -0
  80. data/lib/chef-dk/skeletons/code_generator/templates/default/recipe_spec.rb.erb +35 -0
  81. data/lib/chef-dk/skeletons/code_generator/templates/default/repo/gitignore.erb +128 -0
  82. data/lib/chef-dk/skeletons/code_generator/templates/default/resource.rb.erb +1 -0
  83. data/lib/chef-dk/skeletons/code_generator/templates/default/template.erb +0 -0
  84. data/lib/galvanize.rb +7 -0
  85. data/lib/galvanize/version.rb +3 -0
  86. metadata +130 -0
@@ -0,0 +1,6 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'galvanize'
5
+ require 'chef-dk/cli'
6
+ require 'chef-dk/command/generator_commands/habichef'
7
+ require 'chef-dk/configurable-patch'
8
+
9
+ Kernel.trap(:INT) { print("\n"); exit 1 }
10
+
11
+ require "pry"
12
+ Pry.start
data/bin/gal ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'galvanize'
5
+
6
+ Kernel.trap(:INT) { print("\n"); exit 1 }
7
+
8
+ # We just need to `require` cli, habichef, and configuable-patch in that order before calling ChefDK::CLI.new
9
+ # Might be able to do without bundler?
10
+ ChefDK::CLI.new(ARGV.clone).run
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'galvanize'
5
+
6
+ Kernel.trap(:INT) { print("\n"); exit 1 }
7
+
8
+ # We just need to `require` cli, habichef, and configuable-patch in that order before calling ChefDK::CLI.new
9
+ # Might be able to do without bundler?
10
+ ChefDK::CLI.new(ARGV.clone).run
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,25 @@
1
+
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'galvanize/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'galvanize'
8
+ spec.version = Galvanize::VERSION
9
+ spec.authors = ['qubitrenegade']
10
+ spec.email = ['qubitrenegade@gmail.com']
11
+
12
+ spec.summary = 'This project aims to provide an easy to use framework for generating templates'
13
+ # spec.description = IO.read(File.join(File.dirname(__FILE__), 'README.md'))
14
+ spec.homepage = 'https://github.com/qubitrenegade/galvanize'
15
+ spec.license = 'MIT'
16
+
17
+ # Specify which files should be added to the gem when it is released.
18
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
20
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
21
+ end
22
+ spec.bindir = 'bin'
23
+ spec.executables = spec.files.grep(%r{^bin/gal}) { |f| File.basename(f) }
24
+ spec.require_paths = ['lib']
25
+ end
@@ -0,0 +1,82 @@
1
+ require 'chef-dk/command/generate'
2
+ require 'chef-dk/command/generator_commands/base'
3
+
4
+ module ChefDK
5
+ module Command
6
+ class Generate
7
+ generator(:habichef, :HabiChef, 'Generate a HabiChef skeleton for using Habitat and Chef Policyfiles')
8
+ end
9
+ module GeneratorCommands
10
+ class HabiChef < Base
11
+ banner 'Usage: galvanize generate habichef NAME [options]'
12
+
13
+ attr_reader :errors
14
+ attr_reader :habichef_name_or_path
15
+
16
+ options.merge!(SharedGeneratorOptions.options)
17
+
18
+ def initialize(params)
19
+ @params_valid = true
20
+ @habichef_name = nil
21
+ @verbose = false
22
+ super
23
+ end
24
+
25
+ def run
26
+ read_and_validate_params
27
+ if params_valid?
28
+ setup_context
29
+ chef_runner.converge
30
+ 0
31
+ else
32
+ err(opt_parser)
33
+ 1
34
+ end
35
+ rescue ChefDK::ChefRunnerError => e
36
+ err "ERROR: #{e}"
37
+ end
38
+
39
+ def setup_context
40
+ super
41
+ Generator.add_attr_to_context(:habichef_name, habichef_name)
42
+ Generator.add_attr_to_context(:habichef_root, habichef_root)
43
+ Generator.add_attr_to_context(:skip_git_init, habichef_path_in_git_repo?)
44
+ end
45
+
46
+ def habichef_name
47
+ File.basename habichef_full_path
48
+ end
49
+
50
+ def habichef_root
51
+ File.dirname habichef_full_path
52
+ end
53
+
54
+ def habichef_full_path
55
+ File.expand_path habichef_name_or_path, Dir.pwd
56
+ end
57
+
58
+ def read_and_validate_params
59
+ arguments = parse_options(params)
60
+ @habichef_name_or_path = arguments[0]
61
+ @params_valid = false unless @habichef_name_or_path
62
+ true
63
+ end
64
+
65
+ def recipe
66
+ 'habichef'
67
+ end
68
+
69
+ def params_valid?
70
+ @params_valid
71
+ end
72
+
73
+ def habichef_path_in_git_repo?
74
+ Pathname.new(habichef_full_path).ascend do |dir|
75
+ return true if File.directory?(File.join(dir.to_s, ".git"))
76
+ end
77
+ false
78
+ end
79
+ end
80
+ end
81
+ end
82
+ end
@@ -0,0 +1,15 @@
1
+ require 'chef/config'
2
+
3
+ # ensure our default generator cookbook is relative to _THIS_ file
4
+ # We need to require this file last.
5
+ #
6
+ # would be nice to just include the one file and let the default use the embedded cookbook...
7
+ # I'm thinking have:
8
+ # galvanize/lib/chef-dk/skeleton/generator_cookbook/
9
+ # Include just the metadata, recipe, and relevant templates for the `habichef` command.
10
+
11
+ class Chef::Config
12
+ config_context(:chefdk) do
13
+ default(:generator_cookbook, File.expand_path('../skeletons/code_generator', __FILE__))
14
+ end
15
+ end
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+ source 'https://supermarket.chef.io'
3
+
4
+ metadata
@@ -0,0 +1,146 @@
1
+ # build_cookbook
2
+
3
+ A build cookbook for running the parent project through Chef Workflow
4
+
5
+ This build cookbook should be customized to suit the needs of the parent project. Using this cookbook can be done outside of Chef Workflow, too. If the parent project is a Chef cookbook, we've detected that and "wrapped" [delivery-truck](https://github.com/chef-cookbooks/delivery-truck). That means it is a dependency, and each of its pipeline phase recipes is included in the appropriate phase recipes in this cookbook. If the parent project is not a cookbook, it's left as an exercise to the reader to customize the recipes as needed for each phase in the pipeline.
6
+
7
+ ## .delivery/config.json
8
+
9
+ In the parent directory to this build_cookbook, the `config.json` can be modified as necessary. For example, phases can be skipped, publishing information can be added, and so on. Refer to customer support or the Chef Workflow documentation for assistance on what options are available for this configuration.
10
+
11
+ ## Test Kitchen - Local Verify Testing
12
+
13
+ This cookbook also has a `kitchen.yml` which can be used to create local build nodes with Test Kitchen to perform the verification phases, `unit`, `syntax`, and `lint`. When running `kitchen converge`, the instances will be set up like Chef Workflow "build nodes" with the [delivery_build cookbook](https://github.com/chef-cookbooks/delivery_build). The reason for this is to make sure that the same exact kind of nodes are used by this build cookbook are run on the local workstation as would run Workflow. It will run `delivery job verify PHASE` for the parent project.
14
+
15
+ Modify the `kitchen.yml` if necessary to change the platforms or other configuration to run the verify phases. After making changes in the parent project, `cd` into this directory (`.delivery/build_cookbook`), and run:
16
+
17
+ ```
18
+ kitchen test
19
+ ```
20
+
21
+ ## Recipes
22
+
23
+ Each of the recipes in this build_cookbook are run in the named phase during the Chef Workflow pipeline. The `unit`, `syntax`, and `lint` recipes are additionally run when using Test Kitchen for local testing as noted in the above section.
24
+
25
+ ## Making Changes - Cookbook Example
26
+
27
+ When making changes in the parent project (that which lives in `../..` from this directory), or in the recipes in this build cookbook, there is a bespoke workflow for Chef Workflow. As an example, we'll discuss a Chef Cookbook as the parent.
28
+
29
+ First, create a new branch for the changes.
30
+
31
+ ```
32
+ git checkout -b testing-build-cookbook
33
+ ```
34
+
35
+ Next, increment the version in the metadata.rb. This should be in the _parent_, not in this, the build_cookbook. If this is not done, the verify phase will fail.
36
+
37
+ ```
38
+ % git diff
39
+ <SNIP>
40
+ -version '0.1.0'
41
+ +version '0.1.1'
42
+ ```
43
+
44
+ The change we'll use for an example is to install the `zsh` package. Write a failing ChefSpec in the cookbook project's `spec/unit/recipes/default_spec.rb`.
45
+
46
+ ```ruby
47
+ require 'spec_helper'
48
+
49
+ describe 'godzilla::default' do
50
+ context 'When all attributes are default, on Ubuntu 18.04' do
51
+ let(:chef_run) do
52
+ runner = ChefSpec::ServerRunner.new(platform: 'ubuntu', version: '18.04')
53
+ runner.converge(described_recipe)
54
+ end
55
+
56
+ it 'installs zsh' do
57
+ expect(chef_run).to install_package('zsh')
58
+ end
59
+ end
60
+ end
61
+ ```
62
+
63
+ Commit the local changes as work in progress. The `delivery job` expects to use a clean git repository.
64
+
65
+ ```
66
+ git add ../..
67
+ git commit -m 'WIP: Testing changes'
68
+ ```
69
+
70
+ From _this_ directory (`.delivery/build_cookbook`, relative to the parent cookbook project), run
71
+
72
+ ```
73
+ cd .delivery/build_cookbook
74
+ kitchen converge
75
+ ```
76
+
77
+ This will take some time at first, because the VMs need to be created, Chef installed, the Delivery CLI installed, etc. Later runs will be faster until they are destroyed. It will also fail on the first VM, as expected, because we wrote the test first. Now edit the parent cookbook project's default recipe to install `zsh`.
78
+
79
+ ```
80
+ cd ../../
81
+ $EDITOR/recipes/default.rb
82
+ ```
83
+
84
+ It should look like this:
85
+
86
+ ```
87
+ package 'zsh'
88
+ ```
89
+
90
+ Create another commit.
91
+
92
+ ```
93
+ git add .
94
+ git commit -m 'WIP: Install zsh in default recipe'
95
+ ```
96
+
97
+ Now rerun kitchen from the build_cookbook.
98
+
99
+ ```
100
+ cd .delivery/build_cookbook
101
+ kitchen converge
102
+ ```
103
+
104
+ This will take awhile because it will now pass on the first VM, and then create the second VM. We should have warned you this was a good time for a coffee break.
105
+
106
+ ```
107
+ Recipe: test::default
108
+
109
+ - execute HOME=/home/vagrant delivery job verify unit --server localhost --ent test --org kitchen
110
+ * execute[HOME=/home/vagrant delivery job verify lint --server localhost --ent test --org kitchen] action run
111
+ - execute HOME=/home/vagrant delivery job verify lint --server localhost --ent test --org kitchen
112
+
113
+ - execute HOME=/home/vagrant delivery job verify syntax --server localhost --ent test --org kitchen
114
+
115
+ Running handlers:
116
+ Running handlers complete
117
+ Chef Client finished, 3/32 resources updated in 54.665445968 seconds
118
+ Finished converging <default-centos-71> (1m26.83s).
119
+ ```
120
+
121
+ Victory is ours! Our verify phase passed on the build nodes.
122
+
123
+ We are ready to run this through our Workflow pipeline. Simply run `delivery review` on the local system from the parent project, and it will open a browser window up to the change we just added.
124
+
125
+ ```
126
+ cd ../..
127
+ delivery review
128
+ ```
129
+
130
+ ## FAQ
131
+
132
+ ### Why don't I just run rspec and foodcritic/rubocop on my local system?
133
+
134
+ An objection to the Test Kitchen approach is that it is much faster to run the unit, lint, and syntax commands for the project on the local system. That is totally true, and also totally valid. Do that for the really fast feedback loop. However, the dance we do with Test Kitchen brings a much higher degree of confidence in the changes we're making, that everything will run on the build nodes in Chef Workflow. We strongly encourage this approach before actually pushing the changes to Workflow.
135
+
136
+ ### Why do I have to make a commit every time?
137
+
138
+ When running `delivery job`, it expects to merge the commit for the changeset against the clean master branch. If we don't save our progress by making a commit, our local changes aren't run through `delivery job` in the Test Kitchen build instances. We can always perform an interactive rebase, and modify the original changeset message in Workflow with `delivery review --edit`. The latter won't modify the git commits, only the changeset in Workflow.
139
+
140
+ ### What do I do next?
141
+
142
+ Make changes in the cookbook project as required for organizational goals and needs. Modify the `build_cookbook` as necessary for the pipeline phases that the cookbook should go through.
143
+
144
+ ### What if I get stuck?
145
+
146
+ Contact Chef Support, or your Chef Customer Success team and they will help you get unstuck.
@@ -0,0 +1,21 @@
1
+ ---
2
+ driver:
3
+ name: vagrant
4
+ synced_folders:
5
+ - [<%= File.join(ENV['PWD'], '..', '..')%>, '/tmp/repo-data']
6
+
7
+ provisioner:
8
+ name: chef_zero
9
+ encrypted_data_bag_secret_key_path: 'secrets/fakey-mcfakerton'
10
+ data_bags_path: './data_bags'
11
+ product_name: chefdk
12
+
13
+ platforms:
14
+ - name: ubuntu-18.04
15
+ - name: centos-7
16
+
17
+ suites:
18
+ - name: default
19
+ run_list:
20
+ - recipe[test]
21
+ attributes:
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+ %w(unit lint syntax).each do |phase|
3
+ # TODO: This works on Linux/Unix. Not Windows.
4
+ execute "HOME=/home/vagrant delivery job verify #{phase} --server localhost --ent test --org kitchen" do
5
+ cwd '/tmp/repo-data'
6
+ user 'vagrant'
7
+ environment('GIT_DISCOVERY_ACROSS_FILESYSTEM' => '1')
8
+ end
9
+ end
@@ -0,0 +1,109 @@
1
+ # Put files/directories that should be ignored in this file when uploading
2
+ # to a chef-server or Supermarket.
3
+ # Lines that start with '# ' are comments.
4
+
5
+ # OS generated files #
6
+ ######################
7
+ .DS_Store
8
+ ehthumbs.db
9
+ Icon?
10
+ nohup.out
11
+ Thumbs.db
12
+
13
+ # SASS #
14
+ ########
15
+ .sass-cache
16
+
17
+ # EDITORS #
18
+ ###########
19
+ .#*
20
+ .project
21
+ .settings
22
+ *_flymake
23
+ *_flymake.*
24
+ *.bak
25
+ *.sw[a-z]
26
+ *.tmproj
27
+ *~
28
+ \#*
29
+ mkmf.log
30
+ REVISION
31
+ TAGS*
32
+ tmtags
33
+
34
+ ## COMPILED ##
35
+ ##############
36
+ *.class
37
+ *.com
38
+ *.dll
39
+ *.exe
40
+ *.o
41
+ *.pyc
42
+ *.so
43
+ */rdoc/
44
+ a.out
45
+
46
+ # Testing #
47
+ ###########
48
+ .circleci/*
49
+ .codeclimate.yml
50
+ .foodcritic
51
+ .kitchen*
52
+ .rspec
53
+ .rubocop.yml
54
+ .travis.yml
55
+ .watchr
56
+ azure-pipelines.yml
57
+ examples/*
58
+ features/*
59
+ Guardfile
60
+ kitchen.yml*
61
+ Procfile
62
+ Rakefile
63
+ spec/*
64
+ spec/*
65
+ spec/fixtures/*
66
+ test/*
67
+
68
+ # SCM #
69
+ #######
70
+ .git
71
+ .gitattributes
72
+ .gitconfig
73
+ .github/*
74
+ .gitignore
75
+ .gitmodules
76
+ .svn
77
+ */.bzr/*
78
+ */.git
79
+ */.hg/*
80
+ */.svn/*
81
+
82
+ # Berkshelf #
83
+ #############
84
+ Berksfile
85
+ Berksfile.lock
86
+ cookbooks/*
87
+ tmp
88
+
89
+ # Bundler #
90
+ ###########
91
+ vendor/*
92
+ Gemfile
93
+ Gemfile.lock
94
+
95
+ # Policyfile #
96
+ ##############
97
+ Policyfile.rb
98
+ Policyfile.lock.json
99
+
100
+ # Cookbooks #
101
+ #############
102
+ CHANGELOG*
103
+ CONTRIBUTING*
104
+ TESTING*
105
+
106
+ # Vagrant #
107
+ ###########
108
+ .vagrant
109
+ Vagrantfile