ogre 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/.coveralls.yml +1 -0
  3. data/.gitignore +20 -0
  4. data/.rubocop.yml +16 -0
  5. data/.travis.yml +3 -0
  6. data/Gemfile +4 -0
  7. data/README.md +102 -0
  8. data/Rakefile +18 -0
  9. data/bin/ogre +4 -0
  10. data/lib/ogre.rb +44 -0
  11. data/lib/ogre/associate.rb +57 -0
  12. data/lib/ogre/base.rb +21 -0
  13. data/lib/ogre/config.rb +18 -0
  14. data/lib/ogre/messages.rb +84 -0
  15. data/lib/ogre/org-create.rb +96 -0
  16. data/lib/ogre/org-delete.rb +29 -0
  17. data/lib/ogre/runner.rb +40 -0
  18. data/lib/ogre/set-private-key.rb +57 -0
  19. data/lib/ogre/skeletons/code_generator/files/default/chefignore +95 -0
  20. data/lib/ogre/skeletons/code_generator/files/default/cookbook_readmes/README-policy.md +9 -0
  21. data/lib/ogre/skeletons/code_generator/files/default/cookbook_readmes/README.md +54 -0
  22. data/lib/ogre/skeletons/code_generator/files/default/gitignore +16 -0
  23. data/lib/ogre/skeletons/code_generator/files/default/repo/README.md +66 -0
  24. data/lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/attributes/default.rb +7 -0
  25. data/lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/metadata.rb +3 -0
  26. data/lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/recipes/default.rb +8 -0
  27. data/lib/ogre/skeletons/code_generator/files/default/repo/data_bags/README.md +58 -0
  28. data/lib/ogre/skeletons/code_generator/files/default/repo/data_bags/example/example_item.json +4 -0
  29. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/README.md +9 -0
  30. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/_default.json +9 -0
  31. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/dev.json +21 -0
  32. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/example.json +13 -0
  33. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/int.json +21 -0
  34. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/prod.json +21 -0
  35. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/qa.json +21 -0
  36. data/lib/ogre/skeletons/code_generator/files/default/repo/environments/stage.json +21 -0
  37. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/README.md +9 -0
  38. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/active-base.json +12 -0
  39. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/example.json +13 -0
  40. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_caeast.json +13 -0
  41. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_canada.json +13 -0
  42. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_cawest.json +13 -0
  43. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_useast.json +13 -0
  44. data/lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_uswest.json +13 -0
  45. data/lib/ogre/skeletons/code_generator/metadata.rb +8 -0
  46. data/lib/ogre/skeletons/code_generator/recipes/repo.rb +52 -0
  47. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.all_rights.erb +3 -0
  48. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.apache2.erb +201 -0
  49. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.gplv2.erb +339 -0
  50. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.gplv3.erb +674 -0
  51. data/lib/ogre/skeletons/code_generator/templates/default/LICENSE.mit.erb +21 -0
  52. data/lib/ogre/skeletons/code_generator/templates/default/README.md.erb +4 -0
  53. data/lib/ogre/skeletons/code_generator/templates/default/cookbook_file.erb +0 -0
  54. data/lib/ogre/skeletons/code_generator/templates/default/knife.rb.erb +44 -0
  55. data/lib/ogre/skeletons/code_generator/templates/default/metadata.rb.erb +8 -0
  56. data/lib/ogre/skeletons/code_generator/templates/default/repo/gitignore.erb +11 -0
  57. data/lib/ogre/user-create.rb +40 -0
  58. data/lib/ogre/user-delete.rb +39 -0
  59. data/lib/ogre/version.rb +5 -0
  60. data/ogre.gemspec +45 -0
  61. data/spec/fixtures/client_key/dummy.pem +27 -0
  62. data/spec/fixtures/vcr_cassettes/associate-no-org.yml +65 -0
  63. data/spec/fixtures/vcr_cassettes/associate-no-user.yml +65 -0
  64. data/spec/fixtures/vcr_cassettes/associate-user-exists.yml +135 -0
  65. data/spec/fixtures/vcr_cassettes/associate.yml +406 -0
  66. data/spec/fixtures/vcr_cassettes/org-create-exists.yml +69 -0
  67. data/spec/fixtures/vcr_cassettes/org-create.yml +71 -0
  68. data/spec/fixtures/vcr_cassettes/org-delete-no-org.yml +61 -0
  69. data/spec/fixtures/vcr_cassettes/org-delete.yml +68 -0
  70. data/spec/fixtures/vcr_cassettes/set-private-key.yml +239 -0
  71. data/spec/fixtures/vcr_cassettes/user-create-bad-email.yml +66 -0
  72. data/spec/fixtures/vcr_cassettes/user-create-exists.yml +70 -0
  73. data/spec/fixtures/vcr_cassettes/user-create-short-password.yml +66 -0
  74. data/spec/fixtures/vcr_cassettes/user-create.yml +72 -0
  75. data/spec/fixtures/vcr_cassettes/user-delete-not-found.yml +61 -0
  76. data/spec/fixtures/vcr_cassettes/user-delete.yml +136 -0
  77. data/spec/ogre/associate_spec.rb +67 -0
  78. data/spec/ogre/org-create_spec.rb +52 -0
  79. data/spec/ogre/org-delete_spec.rb +34 -0
  80. data/spec/ogre/set-private-key_spec.rb +16 -0
  81. data/spec/ogre/user-create_spec.rb +58 -0
  82. data/spec/ogre/user-delete_spec.rb +34 -0
  83. data/spec/spec_helper.rb +16 -0
  84. metadata +349 -0
@@ -0,0 +1,52 @@
1
+ require_relative '../spec_helper.rb'
2
+ require 'ogre'
3
+
4
+ VCR.configure do |config|
5
+ config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
6
+ config.hook_into :webmock
7
+
8
+ # remove sensitive authentication information from the recording
9
+ config.before_record do |interaction|
10
+ headers = interaction.request.headers
11
+ headers.keys
12
+ .select { |k| k =~ /^X-Ops-(Authorization-|Content-Hash)/ }
13
+ .each { |header| headers[header] = Array("{{#{header}}}") }
14
+ headers['X-Ops-Userid'] = 'pivotal'
15
+ end
16
+ end
17
+
18
+ describe Ogre::OrgCreate do
19
+ it 'should create new org' do
20
+ args = %w(my-org-name my-org-desc --run_as pivotal) + DEFAULTS
21
+ response = "'my-org-name' org has been created."
22
+ VCR.use_cassette('org-create') do
23
+ expect { Ogre::OrgCreate.start(args) }.to output(/#{response}/).to_stdout
24
+ end
25
+ end
26
+
27
+ it 'should create new org and save chef policy repository' do
28
+ args = %w(my-org-name my-org-desc -p --repo-path tmp) + DEFAULTS
29
+ response = "'my-org-name' org has been created.\nCompiling Cookbooks..."
30
+ VCR.use_cassette('org-create') do
31
+ expect { Ogre::OrgCreate.start(args) }.to output(/#{response}/).to_stdout
32
+ end
33
+ end
34
+
35
+ it 'should create new org and save chef policy repository with parameters' do
36
+ args = %w(my-org-name my-org-desc -p --repo-path tmp -I mit -m youremail@example.com -C Top-Chefs) + DEFAULTS
37
+ response = "'my-org-name' org has been created.\nCompiling Cookbooks..."
38
+ VCR.use_cassette('org-create') do
39
+ expect { Ogre::OrgCreate.start(args) }.to output(/#{response}/).to_stdout
40
+ expect(File.read(KNIFE_PATH)).to match(/cookbook_email "youremail@example.com"/)
41
+ expect(File.read(KNIFE_PATH)).to match(/cookbook_copyright "Top-Chefs"/)
42
+ expect(File.read(KNIFE_PATH)).to match(/cookbook_license "mit"/)
43
+ end
44
+ end
45
+
46
+ it 'should fail org exists' do
47
+ args = %w(my-org-name my-org-desc) + DEFAULTS
48
+ VCR.use_cassette('org-create-exists') do
49
+ expect { Ogre::OrgCreate.start(args) }.to output("my-org-name org already exists\n").to_stdout
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,34 @@
1
+ require_relative '../spec_helper.rb'
2
+ require 'ogre'
3
+
4
+ VCR.configure do |config|
5
+ config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
6
+ config.hook_into :webmock
7
+
8
+ # remove sensitive authentication information from the recording
9
+ config.before_record do |interaction|
10
+ headers = interaction.request.headers
11
+ headers.keys
12
+ .select { |k| k =~ /^X-Ops-(Authorization-|Content-Hash)/ }
13
+ .each { |header| headers[header] = Array("{{#{header}}}") }
14
+ headers['X-Ops-Userid'] = 'pivotal'
15
+ end
16
+ end
17
+
18
+ describe Ogre::OrgDelete do
19
+ it 'should delete org' do
20
+ args = %w(my-org-name -f) + DEFAULTS
21
+ response = "'my-org-name' org has been deleted.\n"
22
+ VCR.use_cassette('org-delete') do
23
+ expect { Ogre::OrgDelete.start(args) }.to output(response).to_stdout
24
+ end
25
+ end
26
+
27
+ it 'should fail org doesnt exist' do
28
+ args = %w(my-nonexistent-org -f) + DEFAULTS
29
+ response = "my-nonexistent-org org does not exist\n"
30
+ VCR.use_cassette('org-delete-no-org') do
31
+ expect { Ogre::OrgDelete.start(args) }.to output(response).to_stdout
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,16 @@
1
+ require_relative '../spec_helper.rb'
2
+ require 'ogre'
3
+
4
+ VCR.configure do |config|
5
+ config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
6
+ config.hook_into :webmock
7
+ end
8
+
9
+ describe Ogre::SetPrivateKey do
10
+ it 'should set private key via vco workflow' do
11
+ args = %w(chef.server org-validator spec/fixtures/client_key/dummy.pem) + VCO_DEFAULTS
12
+ VCR.use_cassette('set-private-key', match_requests_on: [:uri]) do
13
+ expect { Ogre::SetPrivateKey.start(args) }.to output(/State: completed/).to_stdout
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,58 @@
1
+ require_relative '../spec_helper.rb'
2
+ require 'ogre'
3
+
4
+ VCR.configure do |config|
5
+ config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
6
+ config.hook_into :webmock
7
+
8
+ # remove sensitive authentication information from the recording
9
+ config.before_record do |interaction|
10
+ headers = interaction.request.headers
11
+ headers.keys
12
+ .select { |k| k =~ /^X-Ops-(Authorization-|Content-Hash)/ }
13
+ .each { |header| headers[header] = Array("{{#{header}}}") }
14
+ headers['X-Ops-Userid'] = 'pivotal'
15
+ end
16
+ end
17
+
18
+ describe Ogre::UserCreate do
19
+ it 'should create new user' do
20
+ args = %w(user first-name last-name user@exmaple.com password123) + DEFAULTS
21
+ response = "'user' has been created.\n"
22
+ VCR.use_cassette('user-create') do
23
+ expect { Ogre::UserCreate.start(args) }.to output(response).to_stdout
24
+ end
25
+ end
26
+
27
+ it 'should fail user exists' do
28
+ args = %w(user first-name last-name user@exmaple.com password123) + DEFAULTS
29
+ response = "'user' already exists.\n"
30
+ VCR.use_cassette('user-create-exists') do
31
+ expect { Ogre::UserCreate.start(args) }.to output(response).to_stdout
32
+ end
33
+ end
34
+
35
+ it 'should fail password too short' do
36
+ args = %w(user first-name last-name user@exmaple.com a) + DEFAULTS
37
+ VCR.use_cassette('user-create-short-password') do
38
+ begin
39
+ Ogre::UserCreate.start(args)
40
+ rescue Net::HTTPServerException => e
41
+ response = JSON.parse(e.response.body)
42
+ expect(response['error']).to eq(['Password must have at least 6 characters'])
43
+ end
44
+ end
45
+ end
46
+
47
+ it 'should fail bad email' do
48
+ args = %w(user first-name last-name userexmaple.com password123) + DEFAULTS
49
+ VCR.use_cassette('user-create-bad-email') do
50
+ begin
51
+ Ogre::UserCreate.start(args)
52
+ rescue Net::HTTPServerException => e
53
+ response = JSON.parse(e.response.body)
54
+ expect(response['error']).to eq(['email must be valid'])
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,34 @@
1
+ require_relative '../spec_helper.rb'
2
+ require 'ogre'
3
+
4
+ VCR.configure do |config|
5
+ config.cassette_library_dir = 'spec/fixtures/vcr_cassettes'
6
+ config.hook_into :webmock
7
+
8
+ # remove sensitive authentication information from the recording
9
+ config.before_record do |interaction|
10
+ headers = interaction.request.headers
11
+ headers.keys
12
+ .select { |k| k =~ /^X-Ops-(Authorization-|Content-Hash)/ }
13
+ .each { |header| headers[header] = Array("{{#{header}}}") }
14
+ headers['X-Ops-Userid'] = 'pivotal'
15
+ end
16
+ end
17
+
18
+ describe Ogre::UserDelete do
19
+ it 'should delete user' do
20
+ args = %w(user -f) + DEFAULTS
21
+ response = "'user' has been deleted.\n"
22
+ VCR.use_cassette('user-delete') do
23
+ expect { Ogre::UserDelete.start(args) }.to output(response).to_stdout
24
+ end
25
+ end
26
+
27
+ it 'should fail user not found' do
28
+ args = %w(unknown -f) + DEFAULTS
29
+ response = "'unknown' not found.\n"
30
+ VCR.use_cassette('user-delete-not-found') do
31
+ expect { Ogre::UserDelete.start(args) }.to output(response).to_stdout
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,16 @@
1
+ $LOAD_PATH << '../../lib'
2
+
3
+ require 'coveralls'
4
+ require 'vcr'
5
+
6
+ DEFAULTS = %w(--run-as pivotal
7
+ --key-path spec/fixtures/client_key/dummy.pem
8
+ --server-url https://chef.server)
9
+ VCO_DEFAULTS = %w(--vco-url https://vco.server:8281/
10
+ --vco-user user
11
+ --vco-password password
12
+ --vco-wf-name Set-Private-Key
13
+ --vco-verify-ssl false)
14
+ KNIFE_PATH = 'tmp/my-org-name-chef/.chef/knife.rb'
15
+
16
+ Coveralls.wear!
metadata ADDED
@@ -0,0 +1,349 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ogre
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - "'Joe"
8
+ - Nguyen'
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-05-04 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 1.7.4
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 1.7.4
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - "~>"
33
+ - !ruby/object:Gem::Version
34
+ version: '10.0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '10.0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: rubocop
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: 0.30.1
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: 0.30.1
56
+ - !ruby/object:Gem::Dependency
57
+ name: rspec
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '3.0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '3.0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: coveralls
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 0.7.9
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: 0.7.9
84
+ - !ruby/object:Gem::Dependency
85
+ name: guard
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: 2.10.0
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: 2.10.0
98
+ - !ruby/object:Gem::Dependency
99
+ name: guard-rubocop
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: 1.1.0
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: 1.1.0
112
+ - !ruby/object:Gem::Dependency
113
+ name: growl
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '1.0'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '1.0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: yard
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0.8'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0.8'
140
+ - !ruby/object:Gem::Dependency
141
+ name: webmock
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: 1.21.0
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: 1.21.0
154
+ - !ruby/object:Gem::Dependency
155
+ name: vcr
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: 2.9.3
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: 2.9.3
168
+ - !ruby/object:Gem::Dependency
169
+ name: thor
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: 0.19.1
175
+ type: :runtime
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: 0.19.1
182
+ - !ruby/object:Gem::Dependency
183
+ name: chef-dk
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - "~>"
187
+ - !ruby/object:Gem::Version
188
+ version: 0.5.1
189
+ type: :runtime
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: 0.5.1
196
+ - !ruby/object:Gem::Dependency
197
+ name: vcoworkflows
198
+ requirement: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - "~>"
201
+ - !ruby/object:Gem::Version
202
+ version: 0.1.2
203
+ type: :runtime
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - "~>"
208
+ - !ruby/object:Gem::Version
209
+ version: 0.1.2
210
+ description: Command line tool to automate creation of chef orgs, chef policy repositories,
211
+ and validation key integration with vco
212
+ email:
213
+ - "'joe.nguyen@activenetwork.com'"
214
+ executables:
215
+ - ogre
216
+ extensions: []
217
+ extra_rdoc_files: []
218
+ files:
219
+ - ".coveralls.yml"
220
+ - ".gitignore"
221
+ - ".rubocop.yml"
222
+ - ".travis.yml"
223
+ - Gemfile
224
+ - README.md
225
+ - Rakefile
226
+ - bin/ogre
227
+ - lib/ogre.rb
228
+ - lib/ogre/associate.rb
229
+ - lib/ogre/base.rb
230
+ - lib/ogre/config.rb
231
+ - lib/ogre/messages.rb
232
+ - lib/ogre/org-create.rb
233
+ - lib/ogre/org-delete.rb
234
+ - lib/ogre/runner.rb
235
+ - lib/ogre/set-private-key.rb
236
+ - lib/ogre/skeletons/code_generator/files/default/chefignore
237
+ - lib/ogre/skeletons/code_generator/files/default/cookbook_readmes/README-policy.md
238
+ - lib/ogre/skeletons/code_generator/files/default/cookbook_readmes/README.md
239
+ - lib/ogre/skeletons/code_generator/files/default/gitignore
240
+ - lib/ogre/skeletons/code_generator/files/default/repo/README.md
241
+ - lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/attributes/default.rb
242
+ - lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/metadata.rb
243
+ - lib/ogre/skeletons/code_generator/files/default/repo/cookbooks/example/recipes/default.rb
244
+ - lib/ogre/skeletons/code_generator/files/default/repo/data_bags/README.md
245
+ - lib/ogre/skeletons/code_generator/files/default/repo/data_bags/example/example_item.json
246
+ - lib/ogre/skeletons/code_generator/files/default/repo/environments/README.md
247
+ - lib/ogre/skeletons/code_generator/files/default/repo/environments/_default.json
248
+ - lib/ogre/skeletons/code_generator/files/default/repo/environments/dev.json
249
+ - lib/ogre/skeletons/code_generator/files/default/repo/environments/example.json
250
+ - lib/ogre/skeletons/code_generator/files/default/repo/environments/int.json
251
+ - lib/ogre/skeletons/code_generator/files/default/repo/environments/prod.json
252
+ - lib/ogre/skeletons/code_generator/files/default/repo/environments/qa.json
253
+ - lib/ogre/skeletons/code_generator/files/default/repo/environments/stage.json
254
+ - lib/ogre/skeletons/code_generator/files/default/repo/roles/README.md
255
+ - lib/ogre/skeletons/code_generator/files/default/repo/roles/active-base.json
256
+ - lib/ogre/skeletons/code_generator/files/default/repo/roles/example.json
257
+ - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_caeast.json
258
+ - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_canada.json
259
+ - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_cawest.json
260
+ - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_useast.json
261
+ - lib/ogre/skeletons/code_generator/files/default/repo/roles/loc_uswest.json
262
+ - lib/ogre/skeletons/code_generator/metadata.rb
263
+ - lib/ogre/skeletons/code_generator/recipes/repo.rb
264
+ - lib/ogre/skeletons/code_generator/templates/default/LICENSE.all_rights.erb
265
+ - lib/ogre/skeletons/code_generator/templates/default/LICENSE.apache2.erb
266
+ - lib/ogre/skeletons/code_generator/templates/default/LICENSE.gplv2.erb
267
+ - lib/ogre/skeletons/code_generator/templates/default/LICENSE.gplv3.erb
268
+ - lib/ogre/skeletons/code_generator/templates/default/LICENSE.mit.erb
269
+ - lib/ogre/skeletons/code_generator/templates/default/README.md.erb
270
+ - lib/ogre/skeletons/code_generator/templates/default/cookbook_file.erb
271
+ - lib/ogre/skeletons/code_generator/templates/default/knife.rb.erb
272
+ - lib/ogre/skeletons/code_generator/templates/default/metadata.rb.erb
273
+ - lib/ogre/skeletons/code_generator/templates/default/repo/gitignore.erb
274
+ - lib/ogre/user-create.rb
275
+ - lib/ogre/user-delete.rb
276
+ - lib/ogre/version.rb
277
+ - ogre.gemspec
278
+ - spec/fixtures/client_key/dummy.pem
279
+ - spec/fixtures/vcr_cassettes/associate-no-org.yml
280
+ - spec/fixtures/vcr_cassettes/associate-no-user.yml
281
+ - spec/fixtures/vcr_cassettes/associate-user-exists.yml
282
+ - spec/fixtures/vcr_cassettes/associate.yml
283
+ - spec/fixtures/vcr_cassettes/org-create-exists.yml
284
+ - spec/fixtures/vcr_cassettes/org-create.yml
285
+ - spec/fixtures/vcr_cassettes/org-delete-no-org.yml
286
+ - spec/fixtures/vcr_cassettes/org-delete.yml
287
+ - spec/fixtures/vcr_cassettes/set-private-key.yml
288
+ - spec/fixtures/vcr_cassettes/user-create-bad-email.yml
289
+ - spec/fixtures/vcr_cassettes/user-create-exists.yml
290
+ - spec/fixtures/vcr_cassettes/user-create-short-password.yml
291
+ - spec/fixtures/vcr_cassettes/user-create.yml
292
+ - spec/fixtures/vcr_cassettes/user-delete-not-found.yml
293
+ - spec/fixtures/vcr_cassettes/user-delete.yml
294
+ - spec/ogre/associate_spec.rb
295
+ - spec/ogre/org-create_spec.rb
296
+ - spec/ogre/org-delete_spec.rb
297
+ - spec/ogre/set-private-key_spec.rb
298
+ - spec/ogre/user-create_spec.rb
299
+ - spec/ogre/user-delete_spec.rb
300
+ - spec/spec_helper.rb
301
+ homepage: https://github.com/activenetwork-automation/ogre
302
+ licenses:
303
+ - Apache 2.0
304
+ metadata: {}
305
+ post_install_message:
306
+ rdoc_options: []
307
+ require_paths:
308
+ - lib
309
+ required_ruby_version: !ruby/object:Gem::Requirement
310
+ requirements:
311
+ - - ">="
312
+ - !ruby/object:Gem::Version
313
+ version: '0'
314
+ required_rubygems_version: !ruby/object:Gem::Requirement
315
+ requirements:
316
+ - - ">="
317
+ - !ruby/object:Gem::Version
318
+ version: '0'
319
+ requirements: []
320
+ rubyforge_project:
321
+ rubygems_version: 2.4.4
322
+ signing_key:
323
+ specification_version: 4
324
+ summary: Automated generation of enterprise chef organizations
325
+ test_files:
326
+ - spec/fixtures/client_key/dummy.pem
327
+ - spec/fixtures/vcr_cassettes/associate-no-org.yml
328
+ - spec/fixtures/vcr_cassettes/associate-no-user.yml
329
+ - spec/fixtures/vcr_cassettes/associate-user-exists.yml
330
+ - spec/fixtures/vcr_cassettes/associate.yml
331
+ - spec/fixtures/vcr_cassettes/org-create-exists.yml
332
+ - spec/fixtures/vcr_cassettes/org-create.yml
333
+ - spec/fixtures/vcr_cassettes/org-delete-no-org.yml
334
+ - spec/fixtures/vcr_cassettes/org-delete.yml
335
+ - spec/fixtures/vcr_cassettes/set-private-key.yml
336
+ - spec/fixtures/vcr_cassettes/user-create-bad-email.yml
337
+ - spec/fixtures/vcr_cassettes/user-create-exists.yml
338
+ - spec/fixtures/vcr_cassettes/user-create-short-password.yml
339
+ - spec/fixtures/vcr_cassettes/user-create.yml
340
+ - spec/fixtures/vcr_cassettes/user-delete-not-found.yml
341
+ - spec/fixtures/vcr_cassettes/user-delete.yml
342
+ - spec/ogre/associate_spec.rb
343
+ - spec/ogre/org-create_spec.rb
344
+ - spec/ogre/org-delete_spec.rb
345
+ - spec/ogre/set-private-key_spec.rb
346
+ - spec/ogre/user-create_spec.rb
347
+ - spec/ogre/user-delete_spec.rb
348
+ - spec/spec_helper.rb
349
+ has_rdoc: