chef-zero 5.3.0 → 5.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +4 -2
- data/Rakefile +0 -1
- data/lib/chef_zero/version.rb +1 -1
- data/spec/run_oc_pedant.rb +5 -0
- data/spec/support/oc_pedant.rb +0 -2
- data/spec/support/secrets.json +6 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45c7678f376321556e270316e7aab3492a440cde
|
4
|
+
data.tar.gz: b0302b9e4722f2cee53c2f29ecabea74672fd549
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebe88d1277ea7d64b2bf577a10892d40777a5e5bdc917ae399d73ca813f2effbf17dc235cb2f2d900cb1a6e7589b67f829d39f2a0a2864c9ae2f7c8ede851742
|
7
|
+
data.tar.gz: c641a8ada0f8b5b22d5ef4277c23b331068adc3054af6e7608afb4a09b1702b2c20e77c6cd79b4f7da94b12b398e9f390c7f01897d5dfb3bde780f34c1f13166
|
data/Gemfile
CHANGED
@@ -3,10 +3,12 @@ gemspec
|
|
3
3
|
|
4
4
|
# gem 'rest-client', :git => 'https://github.com/chef/rest-client.git'
|
5
5
|
|
6
|
-
|
6
|
+
group :pedant do
|
7
|
+
gem "oc-chef-pedant", :git => "https://github.com/chef/chef-server.git"
|
8
|
+
end
|
7
9
|
|
8
10
|
group :changelog do
|
9
|
-
gem "github_changelog_generator"
|
11
|
+
gem "github_changelog_generator", :git => "https://github.com/chef/github-changelog-generator.git"
|
10
12
|
end
|
11
13
|
|
12
14
|
group :development, :test do
|
data/Rakefile
CHANGED
@@ -70,7 +70,6 @@ begin
|
|
70
70
|
config.issues = false
|
71
71
|
config.enhancement_labels = "enhancement,Enhancement,New Feature,Feature".split(",")
|
72
72
|
config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(",")
|
73
|
-
config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog,Exclude From Changelog,Question,Discussion".split(",")
|
74
73
|
end
|
75
74
|
rescue LoadError
|
76
75
|
puts "github_changelog_generator is not available. gem install github_changelog_generator to generate changelogs"
|
data/lib/chef_zero/version.rb
CHANGED
data/spec/run_oc_pedant.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
require "json"
|
2
3
|
require "bundler"
|
3
4
|
require "bundler/setup"
|
4
5
|
|
@@ -107,6 +108,10 @@ begin
|
|
107
108
|
start_chef_server
|
108
109
|
end
|
109
110
|
|
111
|
+
test_secrets = JSON.parse(File.read("spec/support/secrets.json"))
|
112
|
+
ENV["SUPERUSER_KEY"] = test_secrets["chef-server"]["superuser_key"]
|
113
|
+
ENV["WEBUI_KEY"] = test_secrets["chef-server"]["webui_key"]
|
114
|
+
|
110
115
|
require "rspec/core"
|
111
116
|
require "pedant"
|
112
117
|
require "pedant/organization"
|
data/spec/support/oc_pedant.rb
CHANGED
@@ -85,8 +85,6 @@ delete_org true
|
|
85
85
|
# which should be the fully-qualified path /on the machine Pedant is
|
86
86
|
# running on/ to a private key for that user.
|
87
87
|
superuser_name "pivotal"
|
88
|
-
superuser_key key
|
89
|
-
webui_key key
|
90
88
|
|
91
89
|
def cheffs_or_else_user(value)
|
92
90
|
ENV["CHEF_FS"] ? "pivotal" : value
|
@@ -0,0 +1,6 @@
|
|
1
|
+
{
|
2
|
+
"chef-server": {
|
3
|
+
"superuser_key": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEApNCkX2k+lFGDWRVhX4uClaVQrumG9XXvk6X7M2izrIg7RzMP\nDk4thhZkpx5gr22By7PZQdMEjWC/Zo8MBjtoJ0GV0jw8npefbU1MGKs2dtpYgo0N\nFq8fX8MdFPu4h2W3g0dMEdhT8icc2H4EjhZmdeUhUn3RIEt2duCgp3YDYnUUZx3j\nN7MHc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/object:Gem::Specification
|
2
2
|
name: chef-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.3.
|
4
|
+
version: 5.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Keiser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mixlib-log
|
@@ -281,6 +281,7 @@ files:
|
|
281
281
|
- spec/server_spec.rb
|
282
282
|
- spec/socketless_server_map_spec.rb
|
283
283
|
- spec/support/oc_pedant.rb
|
284
|
+
- spec/support/secrets.json
|
284
285
|
- spec/support/stickywicket.pem
|
285
286
|
homepage: http://www.chef.io
|
286
287
|
licenses:
|
@@ -302,7 +303,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
302
303
|
version: '0'
|
303
304
|
requirements: []
|
304
305
|
rubyforge_project:
|
305
|
-
rubygems_version: 2.
|
306
|
+
rubygems_version: 2.5.1
|
306
307
|
signing_key:
|
307
308
|
specification_version: 4
|
308
309
|
summary: Self-contained, easy-setup, fast-start in-memory Chef server for testing
|