chef 13.2.20-universal-mingw32 → 13.3.42-universal-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CONTRIBUTING.md +1 -1
- data/Gemfile +2 -8
- data/README.md +6 -2
- data/Rakefile +0 -11
- data/VERSION +1 -1
- data/acceptance/Gemfile.lock +1 -1
- data/acceptance/data-collector/.acceptance/data-collector-test/files/default/api.rb +34 -18
- data/acceptance/data-collector/.acceptance/data-collector-test/recipes/default.rb +6 -0
- data/lib/chef/cookbook/metadata.rb +2 -2
- data/lib/chef/deprecation/warnings.rb +3 -1
- data/lib/chef/exceptions.rb +1 -1
- data/lib/chef/http.rb +9 -10
- data/lib/chef/http/api_versions.rb +2 -0
- data/lib/chef/http/http_request.rb +3 -0
- data/lib/chef/knife/core/bootstrap_context.rb +1 -0
- data/lib/chef/knife/core/status_presenter.rb +1 -1
- data/lib/chef/knife/ssh.rb +4 -0
- data/lib/chef/provider/apt_preference.rb +99 -0
- data/lib/chef/provider/execute.rb +3 -2
- data/lib/chef/provider/http_request.rb +14 -0
- data/lib/chef/provider/mount/aix.rb +49 -8
- data/lib/chef/provider/package/windows/registry_uninstall_entry.rb +1 -1
- data/lib/chef/provider/package/zypper.rb +5 -5
- data/lib/chef/provider/service/systemd.rb +12 -11
- data/lib/chef/provider/support/zypper_repo.erb +17 -0
- data/lib/chef/provider/systemd_unit.rb +3 -2
- data/lib/chef/provider/windows_task.rb +92 -71
- data/lib/chef/provider/zypper_repository.rb +81 -0
- data/lib/chef/providers.rb +2 -0
- data/lib/chef/resource/apt_preference.rb +36 -0
- data/lib/chef/resource/execute.rb +12 -2
- data/lib/chef/resource/http_request.rb +1 -1
- data/lib/chef/resource/zypper_repository.rb +51 -0
- data/lib/chef/resources.rb +2 -0
- data/lib/chef/search/query.rb +6 -1
- data/lib/chef/server_api_versions.rb +21 -2
- data/lib/chef/version.rb +3 -4
- data/lib/chef/win32/api/file.rb +1 -0
- data/lib/chef/win32/file.rb +2 -0
- data/lib/chef/win32/version.rb +6 -0
- data/spec/functional/knife/ssh_spec.rb +1 -1
- data/spec/functional/resource/execute_spec.rb +2 -2
- data/spec/spec_helper.rb +8 -1
- data/spec/unit/cookbook/metadata_spec.rb +3 -3
- data/spec/unit/http/api_versions_spec.rb +6 -3
- data/spec/unit/knife/bootstrap_spec.rb +4 -0
- data/spec/unit/knife/cookbook_show_spec.rb +3 -3
- data/spec/unit/knife/ssh_spec.rb +7 -1
- data/spec/unit/knife/status_spec.rb +2 -0
- data/spec/unit/provider/apt_preference_spec.rb +87 -0
- data/spec/unit/provider/apt_update_spec.rb +7 -7
- data/spec/unit/provider/dsc_resource_spec.rb +2 -2
- data/spec/unit/provider/execute_spec.rb +32 -14
- data/spec/unit/provider/mount/aix_spec.rb +33 -1
- data/spec/unit/provider/package/rubygems_spec.rb +1 -1
- data/spec/unit/provider/package/windows/registry_uninstall_entry_spec.rb +56 -3
- data/spec/unit/provider/package/windows_spec.rb +1 -1
- data/spec/unit/provider/package/zypper_spec.rb +43 -0
- data/spec/unit/provider/script_spec.rb +1 -1
- data/spec/unit/provider/service/systemd_service_spec.rb +23 -21
- data/spec/unit/provider/systemd_unit_spec.rb +42 -41
- data/spec/unit/provider/windows_task_spec.rb +40 -0
- data/spec/unit/resource/apt_preference_spec.rb +41 -0
- data/spec/unit/resource/execute_spec.rb +21 -1
- data/spec/unit/resource/powershell_script_spec.rb +2 -2
- data/spec/unit/resource/zypper_repository_spec.rb +65 -0
- data/spec/unit/search/query_spec.rb +13 -18
- data/spec/unit/server_api_spec.rb +75 -1
- data/spec/unit/server_api_versions_spec.rb +22 -0
- data/spec/unit/win32/link_spec.rb +73 -0
- data/tasks/dependencies.rb +0 -1
- metadata +14 -81
- data/acceptance/.bundle/config +0 -2
- data/acceptance/bin/aws.rb +0 -17
- data/acceptance/bin/berks +0 -17
- data/acceptance/bin/bundler +0 -17
- data/acceptance/bin/chef-acceptance +0 -17
- data/acceptance/bin/coderay +0 -17
- data/acceptance/bin/erubis +0 -17
- data/acceptance/bin/htmldiff +0 -17
- data/acceptance/bin/httpclient +0 -17
- data/acceptance/bin/inspec +0 -17
- data/acceptance/bin/kitchen +0 -17
- data/acceptance/bin/ldiff +0 -17
- data/acceptance/bin/nokogiri +0 -17
- data/acceptance/bin/pry +0 -17
- data/acceptance/bin/rake +0 -17
- data/acceptance/bin/rspec +0 -17
- data/acceptance/bin/rwinrm +0 -17
- data/acceptance/bin/rwinrmcp +0 -17
- data/acceptance/bin/safe_yaml +0 -17
- data/acceptance/bin/thor +0 -17
- data/acceptance/fips/.kitchen/fips-unit-functional-centos-6.yml +0 -7
- data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/action_set_name +0 -1
- data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/creator_uid +0 -1
- data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/id +0 -1
- data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/index_uuid +0 -1
- data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/private_key +0 -27
- data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/synced_folders +0 -1
- data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/Vagrantfile +0 -11
- data/acceptance/fips/.kitchen/logs/fips-integration-centos-6.log +0 -0
- data/acceptance/fips/.kitchen/logs/fips-integration-windows-2012r2.log +0 -0
- data/acceptance/fips/.kitchen/logs/fips-unit-functional-centos-6.log +0 -80
- data/acceptance/fips/.kitchen/logs/kitchen.log +0 -4
- data/tasks/changelog.rb +0 -37
- data/tasks/version.rb +0 -41
data/acceptance/bin/inspec
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'inspec' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("inspec", "inspec")
|
data/acceptance/bin/kitchen
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'kitchen' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("test-kitchen", "kitchen")
|
data/acceptance/bin/ldiff
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'ldiff' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("diff-lcs", "ldiff")
|
data/acceptance/bin/nokogiri
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'nokogiri' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("nokogiri", "nokogiri")
|
data/acceptance/bin/pry
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'pry' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("pry", "pry")
|
data/acceptance/bin/rake
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'rake' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("rake", "rake")
|
data/acceptance/bin/rspec
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'rspec' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("rspec-core", "rspec")
|
data/acceptance/bin/rwinrm
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'rwinrm' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("winrm", "rwinrm")
|
data/acceptance/bin/rwinrmcp
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'rwinrmcp' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("winrm-fs", "rwinrmcp")
|
data/acceptance/bin/safe_yaml
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'safe_yaml' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("safe_yaml", "safe_yaml")
|
data/acceptance/bin/thor
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
#
|
4
|
-
# This file was generated by Bundler.
|
5
|
-
#
|
6
|
-
# The application 'thor' is installed as part of a gem, and
|
7
|
-
# this file is here to facilitate running it.
|
8
|
-
#
|
9
|
-
|
10
|
-
require "pathname"
|
11
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
|
12
|
-
Pathname.new(__FILE__).realpath)
|
13
|
-
|
14
|
-
require "rubygems"
|
15
|
-
require "bundler/setup"
|
16
|
-
|
17
|
-
load Gem.bin_path("thor", "thor")
|
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
hostname: 127.0.0.1
|
3
|
-
port: '2202'
|
4
|
-
username: vagrant
|
5
|
-
ssh_key: "/Users/thom/work/chef-branches/acceptance/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/private_key"
|
6
|
-
last_action: setup
|
7
|
-
last_error: Kitchen::ActionFailed
|
@@ -1 +0,0 @@
|
|
1
|
-
1494421840
|
@@ -1 +0,0 @@
|
|
1
|
-
503
|
@@ -1 +0,0 @@
|
|
1
|
-
5c39c875-e48a-4713-8395-ce81caaa5c49
|
@@ -1 +0,0 @@
|
|
1
|
-
1d7ba92c79fd49748601d7a18407bb02
|
@@ -1,27 +0,0 @@
|
|
1
|
-
-----BEGIN RSA PRIVATE KEY-----
|
2
|
-
MIIEowIBAAKCAQEAzyT6pqNAatxWjoU54Ecok1Kgd74ND3Cdnf72Ib8JA9KC4Vbc
|
3
|
-
3tRNZEfd+2usvoFFmaf6F1wGUFDbbgHQxQUbqUsr0daLcgLUM24nZzdxfOE7c/9D
|
4
|
-
jHGAYA3uEFdFrqvF2tsKN+SszJ+u0GyDPNwP3ne9XLZNhAhn9ululGIG+rln2u3I
|
5
|
-
lStfQzxmdyd1bP0gkBlQgiMK5ipghdjWSc8R1maAmhqs1lJAVCzT9pI2bStD93a2
|
6
|
-
eokcncJSx9DRbnLvBBV8+KshOK8qfVrLLb/22E7nbI3PTHCJX72IzDWIDb9zxLF+
|
7
|
-
BF0ybkZrhCQAIUmkm80tkwnkPh4d5lxW0ZI1AQIDAQABAoIBAHd8IiT66A572GXP
|
8
|
-
TWokQbBxKeTIOKpeUFyxk/I1SpLs29f1jePu3FFq7w22t2cQFECk1yqgR3gOm/Qh
|
9
|
-
kfYDk0gc90LMGZWDMjoUYSA1p/3bwbqQVLtvQRinEFpWrPgrVy59yLAi9NX3ihPp
|
10
|
-
c+4oFfNCaHVRJvdxDd8sGT/4J4R5YTsIPtURJ8oj2opS5gkiGXPdIN9ftzjFpU1/
|
11
|
-
/cxKpnLMQFuf+cyr7fBFX6HJhEUVO8fSEO2YaRds2xYt6e6enFv4E5IzW4ZjsZMT
|
12
|
-
9OA4yHgDxfAJDX/Qm9dh76pvhtOo8/rQ9N87SQ1uV39IlI5kufI4CEOUWCIX1svZ
|
13
|
-
tVa5SK0CgYEA/FW546VjClzyr8TQ19aUOzRpjsv05kXChaRAuSPKs9P97yUnbOhg
|
14
|
-
LxvAExUs2ggr0UmyFa/sR/0QT1pT80SSnPKKIre3zSWtsDzw4QyHel93Asud2jo2
|
15
|
-
wQnjbAKEGvpsLn6/vjWHwPBlZTnVmVCKKOMTp9r3y3KkNQ3M1rdR4F8CgYEA0ic3
|
16
|
-
53lZFv0H0yM7BHd+sNy8U8QBLF0WLZKQRRng8eYjOqlenbkuLX+rnjvsH1ByxnKK
|
17
|
-
qXLDvM/Xj3UzdYpFcjz2j/lFGEQfCY+nzcEMOFdAuSI79kjF5YJMPWKwv0Izw15U
|
18
|
-
ny+qMF/j4ESvXQzqMs01wdtH3H6S+uUxjwLuZp8CgYASW6pKhZ3PAzQk1YzcJyBh
|
19
|
-
rk5/tRb8KdcdIfYTgicdLi8rVuinY8CbrMksmj3JHw8RCuuJ6GKoWiD1pPy2liaU
|
20
|
-
hJDINdWJd1RLniNoPCEfJhLigS3a0qFpKe8BzK0PyWhVeaM5k2ts/hBibPK9VL64
|
21
|
-
eszTSXr9sjmAIqDkfjHWwQKBgGdrnXtwoINLqpohcF3WYKaxOo0OnHU0qkFrK0yW
|
22
|
-
W7kvxI6N415DT5Jcjhyk6KLQeGto2wxgyisVLcQPrW9eyKZbkgtwZKx4eb2+0JnV
|
23
|
-
MypW5ic1zcR6M8mqwdJDyy+UaNzwgzyDvIFp7z7jDloAjRDLJHVucIL2V2bZe/Yh
|
24
|
-
PymJAoGBAJPEVICzGHpyO0VbqTcQ78w/ZpmnT7sb0Z3AadWAXvvyfFtOl5VZCDP5
|
25
|
-
/zA1LXZzzpXWqrLa0k1a5B4gx011l1T+/L57Id89QYI7/lUo9vvWXEQ4pe78Cet1
|
26
|
-
0OC7El5hM+iRw28GTkmFIcsFLHcMnWb5AaoVLdR+vnlDNZYuahEF
|
27
|
-
-----END RSA PRIVATE KEY-----
|
@@ -1 +0,0 @@
|
|
1
|
-
{"virtualbox":{"/tmp/omnibus/cache":{"create":true,"guestpath":"/tmp/omnibus/cache","hostpath":"/Users/thom/.kitchen/cache","disabled":false,"__vagrantfile":true}}}
|
data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/Vagrantfile
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
Vagrant.configure("2") do |c|
|
2
|
-
c.berkshelf.enabled = false if Vagrant.has_plugin?("vagrant-berkshelf")
|
3
|
-
c.vm.box = "bento/centos-6.7"
|
4
|
-
c.vm.hostname = "fips-unit-functional-centos-6.vagrantup.com"
|
5
|
-
c.vm.synced_folder ".", "/vagrant", disabled: true
|
6
|
-
c.vm.synced_folder "/Users/thom/.kitchen/cache", "/tmp/omnibus/cache", create: true
|
7
|
-
c.vm.provider :virtualbox do |p|
|
8
|
-
p.customize ["modifyvm", :id, "--cpus", "2"]
|
9
|
-
p.customize ["modifyvm", :id, "--memory", "1024"]
|
10
|
-
end
|
11
|
-
end
|
File without changes
|
File without changes
|
@@ -1,80 +0,0 @@
|
|
1
|
-
I, [2017-05-10T15:03:48.473258 #47111] INFO -- fips-unit-functional-centos-6: -----> Setting up <fips-unit-functional-centos-6>...
|
2
|
-
I, [2017-05-10T15:03:48.477080 #47111] INFO -- fips-unit-functional-centos-6: Finished setting up <fips-unit-functional-centos-6> (0m0.00s).
|
3
|
-
I, [2017-05-10T15:03:48.477204 #47111] INFO -- fips-unit-functional-centos-6: -----> Verifying <fips-unit-functional-centos-6>...
|
4
|
-
I, [2017-05-10T15:03:48.478435 #47111] INFO -- fips-unit-functional-centos-6: Preparing files for transfer
|
5
|
-
I, [2017-05-10T15:03:48.847727 #47111] INFO -- fips-unit-functional-centos-6: -----> Installing Busser (busser)
|
6
|
-
I, [2017-05-10T15:03:50.055852 #47111] INFO -- fips-unit-functional-centos-6: Fetching: thor-0.19.0.gem
|
7
|
-
I, [2017-05-10T15:03:50.087844 #47111] INFO -- fips-unit-functional-centos-6: Successfully installed thor-0.19.0
|
8
|
-
I, [2017-05-10T15:03:50.107121 #47111] INFO -- fips-unit-functional-centos-6: Fetching: busser-0.7.1.gem
|
9
|
-
I, [2017-05-10T15:03:50.125831 #47111] INFO -- fips-unit-functional-centos-6: Successfully installed busser-0.7.1
|
10
|
-
I, [2017-05-10T15:03:50.125885 #47111] INFO -- fips-unit-functional-centos-6: 2 gems installed
|
11
|
-
I, [2017-05-10T15:03:50.130951 #47111] INFO -- fips-unit-functional-centos-6: Installing Busser plugins: busser-bats busser-serverspec
|
12
|
-
I, [2017-05-10T15:03:51.571888 #47111] INFO -- fips-unit-functional-centos-6: Plugin bats installed (version 0.3.0)
|
13
|
-
I, [2017-05-10T15:03:51.573933 #47111] INFO -- fips-unit-functional-centos-6: -----> Running postinstall for bats plugin
|
14
|
-
I, [2017-05-10T15:03:51.596806 #47111] INFO -- fips-unit-functional-centos-6: Installed Bats to /tmp/verifier/vendor/bats/bin/bats
|
15
|
-
I, [2017-05-10T15:03:52.382674 #47111] INFO -- fips-unit-functional-centos-6: Plugin serverspec installed (version 0.5.10)
|
16
|
-
I, [2017-05-10T15:03:52.386623 #47111] INFO -- fips-unit-functional-centos-6: -----> Running postinstall for serverspec plugin
|
17
|
-
I, [2017-05-10T15:03:52.860681 #47111] INFO -- fips-unit-functional-centos-6: Suite path directory /tmp/verifier/suites does not exist, skipping.
|
18
|
-
I, [2017-05-10T15:03:52.863957 #47111] INFO -- fips-unit-functional-centos-6: Transferring files to <fips-unit-functional-centos-6>
|
19
|
-
I, [2017-05-10T15:03:53.068651 #47111] INFO -- fips-unit-functional-centos-6: -----> Running bats test suite
|
20
|
-
I, [2017-05-10T15:03:53.160608 #47111] INFO -- fips-unit-functional-centos-6: ERROR: Can't find ruby library file or shared library chef
|
21
|
-
I, [2017-05-10T15:03:53.168163 #47111] INFO -- fips-unit-functional-centos-6: !!!!!! Command [/tmp/verifier/vendor/bats/bin/bats /tmp/verifier/suites/bats] exit code was 1
|
22
|
-
E, [2017-05-10T15:03:53.171461 #47111] ERROR -- fips-unit-functional-centos-6: Verify failed on instance <fips-unit-functional-centos-6>.
|
23
|
-
E, [2017-05-10T15:03:53.171547 #47111] ERROR -- fips-unit-functional-centos-6: ------Exception-------
|
24
|
-
E, [2017-05-10T15:03:53.171564 #47111] ERROR -- fips-unit-functional-centos-6: Class: Kitchen::ActionFailed
|
25
|
-
E, [2017-05-10T15:03:53.171574 #47111] ERROR -- fips-unit-functional-centos-6: Message: SSH exited (1) for command: [sh -c '
|
26
|
-
TEST_KITCHEN="1"; export TEST_KITCHEN
|
27
|
-
BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
|
28
|
-
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
|
29
|
-
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
|
30
|
-
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE
|
31
|
-
|
32
|
-
sudo -E /tmp/verifier/bin/busser test bats serverspec
|
33
|
-
']
|
34
|
-
E, [2017-05-10T15:03:53.171584 #47111] ERROR -- fips-unit-functional-centos-6: ----------------------
|
35
|
-
E, [2017-05-10T15:03:53.171606 #47111] ERROR -- fips-unit-functional-centos-6: ------Backtrace-------
|
36
|
-
E, [2017-05-10T15:03:53.171618 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/verifier/base.rb:80:in `rescue in call'
|
37
|
-
E, [2017-05-10T15:03:53.171627 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/verifier/base.rb:83:in `call'
|
38
|
-
E, [2017-05-10T15:03:53.171636 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:434:in `block in verify_action'
|
39
|
-
E, [2017-05-10T15:03:53.171645 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:527:in `synchronize_or_call'
|
40
|
-
E, [2017-05-10T15:03:53.171653 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:489:in `block in action'
|
41
|
-
E, [2017-05-10T15:03:53.171662 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
|
42
|
-
E, [2017-05-10T15:03:53.171670 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:488:in `action'
|
43
|
-
E, [2017-05-10T15:03:53.171678 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:426:in `verify_action'
|
44
|
-
E, [2017-05-10T15:03:53.171686 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:359:in `block in transition_to'
|
45
|
-
E, [2017-05-10T15:03:53.171695 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:358:in `each'
|
46
|
-
E, [2017-05-10T15:03:53.171703 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:358:in `transition_to'
|
47
|
-
E, [2017-05-10T15:03:53.171711 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:157:in `verify'
|
48
|
-
E, [2017-05-10T15:03:53.171720 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:197:in `public_send'
|
49
|
-
E, [2017-05-10T15:03:53.171728 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:197:in `run_action_in_thread'
|
50
|
-
E, [2017-05-10T15:03:53.171736 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
|
51
|
-
E, [2017-05-10T15:03:53.171745 #47111] ERROR -- fips-unit-functional-centos-6: ----End Backtrace-----
|
52
|
-
E, [2017-05-10T15:03:53.171752 #47111] ERROR -- fips-unit-functional-centos-6: ---Nested Exception---
|
53
|
-
E, [2017-05-10T15:03:53.171760 #47111] ERROR -- fips-unit-functional-centos-6: Class: Kitchen::Transport::SshFailed
|
54
|
-
E, [2017-05-10T15:03:53.171768 #47111] ERROR -- fips-unit-functional-centos-6: Message: SSH exited (1) for command: [sh -c '
|
55
|
-
TEST_KITCHEN="1"; export TEST_KITCHEN
|
56
|
-
BUSSER_ROOT="/tmp/verifier"; export BUSSER_ROOT
|
57
|
-
GEM_HOME="/tmp/verifier/gems"; export GEM_HOME
|
58
|
-
GEM_PATH="/tmp/verifier/gems"; export GEM_PATH
|
59
|
-
GEM_CACHE="/tmp/verifier/gems/cache"; export GEM_CACHE
|
60
|
-
|
61
|
-
sudo -E /tmp/verifier/bin/busser test bats serverspec
|
62
|
-
']
|
63
|
-
E, [2017-05-10T15:03:53.171776 #47111] ERROR -- fips-unit-functional-centos-6: ----------------------
|
64
|
-
E, [2017-05-10T15:03:53.171784 #47111] ERROR -- fips-unit-functional-centos-6: ------Backtrace-------
|
65
|
-
E, [2017-05-10T15:03:53.171799 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/verifier/base.rb:80:in `rescue in call'
|
66
|
-
E, [2017-05-10T15:03:53.171810 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/verifier/base.rb:83:in `call'
|
67
|
-
E, [2017-05-10T15:03:53.171818 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:434:in `block in verify_action'
|
68
|
-
E, [2017-05-10T15:03:53.171826 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:527:in `synchronize_or_call'
|
69
|
-
E, [2017-05-10T15:03:53.171835 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:489:in `block in action'
|
70
|
-
E, [2017-05-10T15:03:53.171843 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/2.4.0/benchmark.rb:293:in `measure'
|
71
|
-
E, [2017-05-10T15:03:53.171851 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:488:in `action'
|
72
|
-
E, [2017-05-10T15:03:53.171859 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:426:in `verify_action'
|
73
|
-
E, [2017-05-10T15:03:53.171867 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:359:in `block in transition_to'
|
74
|
-
E, [2017-05-10T15:03:53.171900 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:358:in `each'
|
75
|
-
E, [2017-05-10T15:03:53.171908 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:358:in `transition_to'
|
76
|
-
E, [2017-05-10T15:03:53.171916 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/instance.rb:157:in `verify'
|
77
|
-
E, [2017-05-10T15:03:53.171924 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:197:in `public_send'
|
78
|
-
E, [2017-05-10T15:03:53.171932 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:197:in `run_action_in_thread'
|
79
|
-
E, [2017-05-10T15:03:53.171941 #47111] ERROR -- fips-unit-functional-centos-6: /Users/thom/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/test-kitchen-1.16.0/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
|
80
|
-
E, [2017-05-10T15:03:53.171949 #47111] ERROR -- fips-unit-functional-centos-6: ----End Backtrace-----
|
data/tasks/changelog.rb
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
begin
|
2
|
-
require "github_changelog_generator/task"
|
3
|
-
require "mixlib/install"
|
4
|
-
|
5
|
-
namespace :changelog do
|
6
|
-
# Fetch the latest version from mixlib-install
|
7
|
-
def latest_stable_version
|
8
|
-
# for 13.1, a 12.20 release was made after 13.0, which is busting the changelog generator. Reset this post 13.1 release
|
9
|
-
"13.0.118"
|
10
|
-
# Mixlib::Install.available_versions("chef", "stable").last
|
11
|
-
end
|
12
|
-
|
13
|
-
# Take the changelog from the latest stable release and put it into history.
|
14
|
-
task :archive do
|
15
|
-
changelog = Net::HTTP.get(URI("https://raw.githubusercontent.com/chef/chef/v#{latest_stable_version}/CHANGELOG.md")).chomp.split("\n")
|
16
|
-
File.open("HISTORY.md", "w+") { |f| f.write(changelog[2..-4].join("\n")) }
|
17
|
-
end
|
18
|
-
|
19
|
-
# Run this to just update the changelog for the current release. This will
|
20
|
-
# take what is in HISTORY and generate a changelog of PRs between the most
|
21
|
-
# recent stable version and HEAD.
|
22
|
-
GitHubChangelogGenerator::RakeTask.new :update do |config|
|
23
|
-
config.future_release = "v#{Chef::VERSION}"
|
24
|
-
config.between_tags = ["v#{latest_stable_version}", "v#{Chef::VERSION}"]
|
25
|
-
config.max_issues = 0
|
26
|
-
config.add_issues_wo_labels = false
|
27
|
-
config.enhancement_labels = "enhancement,Enhancement,New Feature,Feature".split(",")
|
28
|
-
config.bug_labels = "bug,Bug,Improvement,Upstream Bug".split(",")
|
29
|
-
config.exclude_labels = "duplicate,question,invalid,wontfix,no_changelog,Exclude From Changelog,Question,Discussion,Meta: Exclude From Changelog".split(",")
|
30
|
-
config.header = "This changelog reflects the current state of chef's master branch on github and may not reflect the current released version of chef, which is [](https://badge.fury.io/rb/chef)."
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
task :changelog => "changelog:update"
|
35
|
-
rescue LoadError
|
36
|
-
puts "github_changelog_generator is not available. gem install github_changelog_generator to generate changelogs"
|
37
|
-
end
|
data/tasks/version.rb
DELETED
@@ -1,41 +0,0 @@
|
|
1
|
-
#
|
2
|
-
# Copyright:: Copyright 2017 Chef Software, Inc.
|
3
|
-
# License:: Apache License, Version 2.0
|
4
|
-
#
|
5
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
-
# you may not use this file except in compliance with the License.
|
7
|
-
# You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing, software
|
12
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
-
# See the License for the specific language governing permissions and
|
15
|
-
# limitations under the License.
|
16
|
-
#
|
17
|
-
|
18
|
-
task :ci_version_bump do
|
19
|
-
begin
|
20
|
-
require "rake"
|
21
|
-
|
22
|
-
Rake::Task["version:bump_patch"].invoke
|
23
|
-
Rake::Task["version:update"].invoke
|
24
|
-
|
25
|
-
# We want to log errors that occur in the following tasks, but we don't
|
26
|
-
# want them to stop an otherwise valid version bump from progressing.
|
27
|
-
begin
|
28
|
-
Rake::Task["changelog:update"].invoke
|
29
|
-
rescue Exception => e
|
30
|
-
puts "There was an error updating the CHANGELOG"
|
31
|
-
puts e
|
32
|
-
end
|
33
|
-
|
34
|
-
begin
|
35
|
-
Rake::Task["update_dockerfile"].invoke
|
36
|
-
rescue Exception => e
|
37
|
-
puts "There was an error updating the Dockerfile"
|
38
|
-
puts e
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|