chef 13.0.118 → 13.1.31

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +5 -27
  3. data/VERSION +1 -1
  4. data/acceptance/.bundle/config +2 -0
  5. data/acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb +1 -1
  6. data/acceptance/bin/aws.rb +17 -0
  7. data/acceptance/bin/berks +17 -0
  8. data/acceptance/bin/bundler +17 -0
  9. data/acceptance/bin/chef-acceptance +17 -0
  10. data/acceptance/bin/coderay +17 -0
  11. data/acceptance/bin/erubis +17 -0
  12. data/acceptance/bin/htmldiff +17 -0
  13. data/acceptance/bin/httpclient +17 -0
  14. data/acceptance/bin/inspec +17 -0
  15. data/acceptance/bin/kitchen +17 -0
  16. data/acceptance/bin/ldiff +17 -0
  17. data/acceptance/bin/nokogiri +17 -0
  18. data/acceptance/bin/pry +17 -0
  19. data/acceptance/bin/rake +17 -0
  20. data/acceptance/bin/rspec +17 -0
  21. data/acceptance/bin/rwinrm +17 -0
  22. data/acceptance/bin/rwinrmcp +17 -0
  23. data/acceptance/bin/safe_yaml +17 -0
  24. data/acceptance/bin/thor +17 -0
  25. data/acceptance/fips/.kitchen/fips-unit-functional-centos-6.yml +7 -0
  26. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/action_set_name +1 -0
  27. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/creator_uid +1 -0
  28. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/id +1 -0
  29. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/index_uuid +1 -0
  30. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/private_key +27 -0
  31. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/synced_folders +1 -0
  32. data/acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/Vagrantfile +11 -0
  33. data/acceptance/fips/.kitchen/logs/fips-integration-centos-6.log +0 -0
  34. data/acceptance/fips/.kitchen/logs/fips-integration-windows-2012r2.log +0 -0
  35. data/acceptance/fips/.kitchen/logs/fips-unit-functional-centos-6.log +80 -0
  36. data/acceptance/fips/.kitchen/logs/kitchen.log +4 -0
  37. data/chef.gemspec +1 -1
  38. data/lib/chef/application/client.rb +1 -1
  39. data/lib/chef/application/knife.rb +1 -1
  40. data/lib/chef/application/solo.rb +1 -0
  41. data/lib/chef/cookbook/remote_file_vendor.rb +1 -1
  42. data/lib/chef/cookbook/synchronizer.rb +20 -7
  43. data/lib/chef/cookbook_manifest.rb +8 -0
  44. data/lib/chef/deprecated.rb +10 -0
  45. data/lib/chef/knife/client_key_create.rb +3 -0
  46. data/lib/chef/knife/client_key_delete.rb +1 -0
  47. data/lib/chef/knife/client_key_edit.rb +1 -0
  48. data/lib/chef/knife/client_key_list.rb +1 -0
  49. data/lib/chef/knife/client_key_show.rb +1 -0
  50. data/lib/chef/knife/user_key_create.rb +1 -0
  51. data/lib/chef/knife/user_key_delete.rb +1 -0
  52. data/lib/chef/knife/user_key_edit.rb +1 -0
  53. data/lib/chef/knife/user_key_list.rb +1 -0
  54. data/lib/chef/knife/user_key_show.rb +1 -0
  55. data/lib/chef/local_mode.rb +1 -0
  56. data/lib/chef/mixin/which.rb +1 -1
  57. data/lib/chef/platform/service_helpers.rb +1 -1
  58. data/lib/chef/provider/apt_repository.rb +7 -4
  59. data/lib/chef/provider/execute.rb +1 -1
  60. data/lib/chef/provider/package/cab.rb +18 -13
  61. data/lib/chef/provider/package/msu.rb +2 -2
  62. data/lib/chef/provider/package/rubygems.rb +3 -5
  63. data/lib/chef/provider/user/aix.rb +1 -1
  64. data/lib/chef/provider/user/windows.rb +1 -1
  65. data/lib/chef/providers.rb +0 -1
  66. data/lib/chef/resource/breakpoint.rb +12 -0
  67. data/lib/chef/resource/env.rb +3 -35
  68. data/lib/chef/resource/route.rb +13 -107
  69. data/lib/chef/resource/service.rb +5 -5
  70. data/lib/chef/resource/user.rb +6 -4
  71. data/lib/chef/resource/windows_task.rb +3 -3
  72. data/lib/chef/run_context.rb +7 -0
  73. data/lib/chef/runner.rb +2 -1
  74. data/lib/chef/version.rb +1 -1
  75. data/spec/functional/resource/chocolatey_package_spec.rb +1 -8
  76. data/spec/functional/resource/registry_spec.rb +1 -1
  77. data/spec/functional/resource/user/useradd_spec.rb +1 -1
  78. data/spec/functional/resource/windows_task_spec.rb +459 -0
  79. data/spec/integration/client/client_spec.rb +32 -0
  80. data/spec/spec_helper.rb +2 -0
  81. data/spec/support/platform_helpers.rb +7 -0
  82. data/spec/support/shared/unit/provider/useradd_based_user_provider.rb +3 -3
  83. data/spec/unit/cookbook/synchronizer_spec.rb +5 -4
  84. data/spec/unit/cookbook_manifest_spec.rb +17 -2
  85. data/spec/unit/provider/env_spec.rb +2 -2
  86. data/spec/unit/provider/group/dscl_spec.rb +2 -2
  87. data/spec/unit/provider/group/pw_spec.rb +3 -3
  88. data/spec/unit/provider/group/usermod_spec.rb +6 -6
  89. data/spec/unit/provider/group/windows_spec.rb +3 -3
  90. data/spec/unit/provider/group_spec.rb +4 -4
  91. data/spec/unit/provider/http_request_spec.rb +1 -1
  92. data/spec/unit/provider/package/aix_spec.rb +2 -2
  93. data/spec/unit/provider/package/apt_spec.rb +2 -2
  94. data/spec/unit/provider/package/ips_spec.rb +2 -2
  95. data/spec/unit/provider/package/macports_spec.rb +4 -4
  96. data/spec/unit/provider/package/pacman_spec.rb +2 -2
  97. data/spec/unit/provider/package/rubygems_spec.rb +14 -11
  98. data/spec/unit/provider/package/yum_spec.rb +10 -10
  99. data/spec/unit/provider/route_spec.rb +7 -7
  100. data/spec/unit/provider/service/arch_service_spec.rb +6 -6
  101. data/spec/unit/provider/service/init_service_spec.rb +2 -2
  102. data/spec/unit/provider/service/invokercd_service_spec.rb +1 -1
  103. data/spec/unit/provider/service/simple_service_spec.rb +1 -1
  104. data/spec/unit/provider/service/upstart_service_spec.rb +5 -5
  105. data/spec/unit/provider/service_spec.rb +1 -1
  106. data/spec/unit/provider/user/aix_spec.rb +97 -0
  107. data/spec/unit/provider/user/pw_spec.rb +5 -5
  108. data/spec/unit/provider/user_spec.rb +1 -1
  109. data/spec/unit/provider_resolver_spec.rb +11 -11
  110. data/spec/unit/resource/breakpoint_spec.rb +28 -11
  111. data/spec/unit/resource/windows_task_spec.rb +2 -2
  112. data/spec/unit/runner_spec.rb +4 -0
  113. data/tasks/bin/run_external_test +20 -42
  114. data/tasks/bundle.rb +0 -8
  115. data/tasks/changelog.rb +5 -1
  116. data/tasks/dependencies.rb +4 -2
  117. metadata +80 -19
  118. data/acceptance/fips/.acceptance/acceptance-cookbook/.gitignore +0 -2
  119. data/acceptance/fips/.acceptance/acceptance-cookbook/metadata.rb +0 -2
  120. data/acceptance/fips/.acceptance/acceptance-cookbook/recipes/destroy.rb +0 -1
  121. data/acceptance/fips/.acceptance/acceptance-cookbook/recipes/provision.rb +0 -1
  122. data/acceptance/fips/.acceptance/acceptance-cookbook/recipes/verify.rb +0 -1
  123. data/acceptance/fips/.kitchen.yml +0 -8
  124. data/acceptance/fips/test/integration/fips-integration/serverspec/Gemfile +0 -9
  125. data/acceptance/fips/test/integration/fips-integration/serverspec/fips-integration_spec.rb +0 -52
  126. data/acceptance/fips/test/integration/fips-unit-functional/serverspec/Gemfile +0 -7
  127. data/acceptance/fips/test/integration/fips-unit-functional/serverspec/fips-unit-functional_spec.rb +0 -56
  128. data/lib/chef/provider/breakpoint.rb +0 -38
  129. data/spec/unit/provider/breakpoint_spec.rb +0 -53
  130. data/tasks/bin/create-override-gemfile +0 -110
  131. data/tasks/gemfile_util.rb +0 -390
@@ -17,31 +17,48 @@
17
17
  #
18
18
 
19
19
  require "spec_helper"
20
- require "support/shared/unit/resource/static_provider_resolution"
21
20
 
22
21
  describe Chef::Resource::Breakpoint do
23
22
 
24
- static_provider_resolution(
25
- resource: Chef::Resource::Breakpoint,
26
- provider: Chef::Provider::Breakpoint,
27
- name: :breakpoint,
28
- action: :break
29
- )
23
+ let(:node) { Chef::Node.new }
24
+ let(:events) { Chef::EventDispatch::Dispatcher.new }
25
+ let(:run_context) { Chef::RunContext.new(node, {}, events) }
26
+ let(:collection) { double("resource collection") }
27
+ let(:resource) { Chef::Resource::Breakpoint.new("name", run_context) }
28
+ let(:provider) { resource.provider_for_action(:break) }
30
29
 
31
30
  before do
32
- @breakpoint = Chef::Resource::Breakpoint.new
31
+ allow(run_context).to receive(:resource_collection).and_return(collection)
32
+ end
33
+
34
+ it "gets the iterator from @collection and pauses it" do
35
+ allow(Shell).to receive(:running?).and_return(true)
36
+ iterator = double("stepable_iterator")
37
+ allow(collection).to receive(:iterator).and_return(iterator)
38
+ expect(iterator).to receive(:pause)
39
+ provider.action_break
40
+ expect(resource).to be_updated
41
+ end
42
+
43
+ it "doesn't pause the iterator if chef-shell isn't running" do
44
+ allow(Shell).to receive(:running?).and_return(false)
45
+ iterator = double("stepable_iterator")
46
+ allow(collection).to receive(:iterator).and_return(iterator)
47
+ expect(iterator).not_to receive(:pause)
48
+ provider.action_break
33
49
  end
34
50
 
35
51
  it "allows the action :break" do
36
- expect(@breakpoint.allowed_actions).to include(:break)
52
+ expect(resource.allowed_actions).to include(:break)
37
53
  end
38
54
 
39
55
  it "defaults to the break action" do
40
- expect(@breakpoint.action).to eq([:break])
56
+ expect(resource.action).to eq([:break])
41
57
  end
42
58
 
43
59
  it "names itself after the line number of the file where it's created" do
44
- expect(@breakpoint.name).to match(/breakpoint_spec\.rb\:[\d]{2}\:in \`new\'$/)
60
+ resource = Chef::Resource::Breakpoint.new
61
+ expect(resource.name).to match(/breakpoint_spec\.rb\:[\d]{2}\:in \`new\'$/)
45
62
  end
46
63
 
47
64
  end
@@ -166,8 +166,8 @@ describe Chef::Resource::WindowsTask do
166
166
  end
167
167
 
168
168
  context "#validate_create_day" do
169
- it "raises error if frequency is not :weekly" do
170
- expect { resource.send(:validate_create_day, "Mon", :monthly) }.to raise_error("day attribute is only valid for tasks that run weekly")
169
+ it "raises error if frequency is not :weekly or :monthly" do
170
+ expect { resource.send(:validate_create_day, "Mon", :once) }.to raise_error("day attribute is only valid for tasks that run monthly or weekly")
171
171
  end
172
172
 
173
173
  it "accepts a valid single day" do
@@ -98,6 +98,10 @@ describe Chef::Runner do
98
98
  run_context.resource_collection << first_resource
99
99
  end
100
100
 
101
+ it "runner sets up a pointer back to itself in the run_context" do
102
+ expect(runner).to eql(run_context.runner)
103
+ end
104
+
101
105
  context "when we are doing dynamic provider resolution" do
102
106
 
103
107
  it "should pass each resource in the collection to a provider" do
@@ -1,47 +1,25 @@
1
- #!/bin/bash
1
+ #!/usr/bin/env ruby
2
2
 
3
- # Fail fast (e) and echo commands (vx)
4
- set -evx
3
+ $:.unshift(File.expand_path("../../lib", File.dirname(__FILE__)))
5
4
 
6
- # Arguments
7
- TEST_GEM=$1
8
- shift
5
+ require "tmpdir"
6
+ require "bundler"
7
+ require "chef/mixin/shell_out"
9
8
 
10
- PROJECT_ROOT=$(pwd)
11
- PROJECT_BUNDLE_PATH=${BUNDLE_PATH:-$(grep BUNDLE_PATH: $PROJECT_ROOT/.bundle/config | cut -d' ' -f2-)}
12
- if [ -n "$PROJECT_BUNDLE_PATH" ]; then
13
- PROJECT_BUNDLE_PATH=$PROJECT_ROOT/$PROJECT_BUNDLE_PATH
14
- fi
9
+ include Chef::Mixin::ShellOut
15
10
 
16
- TEST_GEM_ROOT=$(bundle show $TEST_GEM)
11
+ github_repo = ARGV.shift
12
+ git_thing = ARGV.shift
17
13
 
18
- # Make a copy of the original Gemfile and stitch in our Gemfile.lock
19
- TEST_GEMFILE=$TEST_GEM_ROOT/Gemfile
20
- MODIFIED_TEST_GEMFILE=$TEST_GEMFILE.externaltest
21
- cat <<EOM > $MODIFIED_TEST_GEMFILE
22
- require_relative "$PROJECT_ROOT/tasks/gemfile_util"
23
- GemfileUtil.include_locked_gemfile(self, "$PROJECT_ROOT/Gemfile", gems: ["$TEST_GEM"] + "$TEST_WITH_GEMS".split(/\s+/))
24
- $TEST_GEM_OVERRIDES
25
- EOM
26
- cat $TEST_GEMFILE >> $MODIFIED_TEST_GEMFILE
27
- if [ -f $TEST_GEMFILE.lock ]; then
28
- cp $TEST_GEMFILE.lock $MODIFIED_TEST_GEMFILE.lock
29
- elif [ -f $MODIFIED_TEST_GEMFILE.lock ]; then
30
- rm -f $MODIFIED_TEST_GEMFILE.lock
31
- fi
32
-
33
- # Run the bundle install
34
- cd $TEST_GEM_ROOT
35
- export BUNDLE_GEMFILE=$MODIFIED_TEST_GEMFILE
36
- # Don't read from the project .bundle/config, just our env vars
37
- export BUNDLE_IGNORE_CONFIG=true
38
- # Use the top level bundle cache so we don't have to reinstall their packages
39
- if [ -n "$PROJECT_BUNDLE_PATH" ]; then
40
- export BUNDLE_PATH=$PROJECT_BUNDLE_PATH
41
- fi
42
- export BUNDLE_FROZEN=
43
- bundle install
44
- export BUNDLE_FROZEN=true
45
-
46
- bundle config
47
- bundle exec $@
14
+ Dir.mktmpdir("chef-external-test") do |dir|
15
+ git_url = "https://github.com/#{github_repo}"
16
+ Dir.rmdir dir
17
+ shell_out!("git clone #{git_url} #{dir}", live_stream: STDOUT)
18
+ Dir.chdir(dir) do
19
+ shell_out!("git checkout #{git_thing}", live_stream: STDOUT)
20
+ Bundler.with_clean_env do
21
+ shell_out!("bundle install", live_stream: STDOUT)
22
+ shell_out!("bundle exec #{ARGV.join(" ")}", live_stream: STDOUT)
23
+ end
24
+ end
25
+ end
@@ -24,9 +24,7 @@ namespace :bundle do
24
24
  task :update, [:args] do |t, rake_args|
25
25
  args = rake_args[:args] || ""
26
26
  Bundler.with_clean_env do
27
- sh "bundle config --local frozen '0'"
28
27
  sh "bundle update #{args}"
29
- sh "bundle config --local frozen '1'"
30
28
  end
31
29
  end
32
30
 
@@ -35,9 +33,7 @@ namespace :bundle do
35
33
  args = rake_args[:args] || ""
36
34
  args = rake_args[:args] || ""
37
35
  Bundler.with_clean_env do
38
- sh "bundle config --local frozen '0'"
39
36
  sh "bundle install #{args}"
40
- sh "bundle config --local frozen '1'"
41
37
  end
42
38
  end
43
39
 
@@ -57,10 +53,8 @@ namespace :bundle do
57
53
  task :outdated do
58
54
  bundle_outdated = ""
59
55
  Bundler.with_clean_env do
60
- sh "bundle config --local frozen '0'"
61
56
  bundle_outdated = `bundle outdated`
62
57
  puts bundle_outdated
63
- sh "bundle config --local frozen '1'"
64
58
  end
65
59
  outdated_gems = parse_bundle_outdated(bundle_outdated).map { |line, gem_name| gem_name }
66
60
  outdated_gems = outdated_gems.reject { |gem_name| ACCEPTABLE_OUTDATED_GEMS.include?(gem_name) }
@@ -74,8 +68,6 @@ desc "Run bundle with arbitrary args"
74
68
  task :bundle, [:args] do |t, rake_args|
75
69
  args = rake_args[:args] || ""
76
70
  Bundler.with_clean_env do
77
- sh "bundle config --local frozen '0'"
78
71
  sh "bundle #{args}"
79
- sh "bundle config --local frozen '1'"
80
72
  end
81
73
  end
@@ -4,7 +4,11 @@ begin
4
4
 
5
5
  namespace :changelog do
6
6
  # Fetch the latest version from mixlib-install
7
- latest_stable_version = Mixlib::Install.available_versions("chef", "stable").last
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
8
12
 
9
13
  # Take the changelog from the latest stable release and put it into history.
10
14
  task :archive do
@@ -25,11 +25,13 @@ namespace :dependencies do
25
25
  # dependencies locally is by running the dependency update script.
26
26
  desc "Update all dependencies. dependencies:update to update as little as possible."
27
27
  task :update do |t, rake_args|
28
+ # FIXME: probably broken, and needs less indirection
28
29
  system("#{File.join(Dir.pwd, "ci", "dependency_update.sh")}")
29
30
  end
30
31
 
31
32
  desc "Force update (when adding new gems to Gemfiles)"
32
33
  task :force_update do |t, rake_args|
34
+ # FIXME: probably broken, and needs less indirection
33
35
  FileUtils.rm_f(File.join(Dir.pwd, ".bundle", "config"))
34
36
  system("#{File.join(Dir.pwd, "ci", "dependency_update.sh")}")
35
37
  end
@@ -51,10 +53,10 @@ namespace :dependencies do
51
53
  task task_name do
52
54
  Dir.chdir(dir) do
53
55
  Bundler.with_clean_env do
54
- sh "bundle config --local frozen '0'"
56
+ rm_f "#{dir}/Gemfile.lock"
55
57
  sh "bundle lock --update --add-platform ruby"
58
+ sh "bundle lock --update --add-platform x64-mingw32"
56
59
  sh "bundle lock --update --add-platform x86-mingw32"
57
- sh "bundle config --local frozen '1'"
58
60
  end
59
61
  end
60
62
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 13.0.118
4
+ version: 13.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-12 00:00:00.000000000 Z
11
+ date: 2017-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 13.0.118
19
+ version: 13.1.31
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 13.0.118
26
+ version: 13.1.31
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: mixlib-cli
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -467,6 +467,49 @@ files:
467
467
  - README.md
468
468
  - Rakefile
469
469
  - VERSION
470
+ - acceptance/.acceptance_data/chef/fips/provision/.chef/config.rb
471
+ - acceptance/.acceptance_data/chef/fips/provision/cache/chef-client-running.pid
472
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/.gitignore
473
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/metadata.rb
474
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/recipes/destroy.rb
475
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/recipes/provision.rb
476
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/acceptance-cookbook/recipes/verify.rb
477
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/.kitchen.digitalocean.yml
478
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/.kitchen.ec2.yml
479
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/.kitchen.vagrant.yml
480
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/libraries/kitchen.rb
481
+ - acceptance/.acceptance_data/chef/fips/provision/cache/cookbooks/kitchen_acceptance/metadata.rb
482
+ - acceptance/.acceptance_data/chef/fips/provision/cache/failed-audit-data.json
483
+ - acceptance/.acceptance_data/chef/fips/provision/dna.json
484
+ - acceptance/.acceptance_data/chef/fips/provision/nodes/remtmay02.json
485
+ - acceptance/.acceptance_data/chef/fips/verify/.chef/config.rb
486
+ - acceptance/.acceptance_data/chef/fips/verify/cache/chef-client-running.pid
487
+ - acceptance/.acceptance_data/chef/fips/verify/cache/chef-stacktrace.out
488
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/.gitignore
489
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/metadata.rb
490
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/recipes/destroy.rb
491
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/recipes/provision.rb
492
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/acceptance-cookbook/recipes/verify.rb
493
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/.kitchen.digitalocean.yml
494
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/.kitchen.ec2.yml
495
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/.kitchen.vagrant.yml
496
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/libraries/kitchen.rb
497
+ - acceptance/.acceptance_data/chef/fips/verify/cache/cookbooks/kitchen_acceptance/metadata.rb
498
+ - acceptance/.acceptance_data/chef/fips/verify/cache/failed-audit-data.json
499
+ - acceptance/.acceptance_data/chef/fips/verify/dna.json
500
+ - acceptance/.acceptance_data/chef/fips/verify/nodes/remtmay02.json
501
+ - acceptance/.acceptance_data/logs/acceptance.log
502
+ - acceptance/.acceptance_data/logs/fips/converge/fips-integration-centos-6.log
503
+ - acceptance/.acceptance_data/logs/fips/converge/fips-integration-windows-2012r2.log
504
+ - acceptance/.acceptance_data/logs/fips/converge/fips-unit-functional-centos-6.log
505
+ - acceptance/.acceptance_data/logs/fips/converge/kitchen.log
506
+ - acceptance/.acceptance_data/logs/fips/provision.log
507
+ - acceptance/.acceptance_data/logs/fips/verify.log
508
+ - acceptance/.acceptance_data/logs/fips/verify/fips-integration-centos-6.log
509
+ - acceptance/.acceptance_data/logs/fips/verify/fips-integration-windows-2012r2.log
510
+ - acceptance/.acceptance_data/logs/fips/verify/fips-unit-functional-centos-6.log
511
+ - acceptance/.acceptance_data/logs/fips/verify/kitchen.log
512
+ - acceptance/.bundle/config
470
513
  - acceptance/.gitignore
471
514
  - acceptance/.shared/kitchen_acceptance/.kitchen.digitalocean.yml
472
515
  - acceptance/.shared/kitchen_acceptance/.kitchen.ec2.yml
@@ -485,6 +528,25 @@ files:
485
528
  - acceptance/basics/test/integration/chef-current-install/serverspec/chef_client_spec.rb
486
529
  - acceptance/basics/test/integration/chef-current-install/serverspec/spec_helper.rb
487
530
  - acceptance/basics/test/integration/helpers/serverspec/Gemfile
531
+ - acceptance/bin/aws.rb
532
+ - acceptance/bin/berks
533
+ - acceptance/bin/bundler
534
+ - acceptance/bin/chef-acceptance
535
+ - acceptance/bin/coderay
536
+ - acceptance/bin/erubis
537
+ - acceptance/bin/htmldiff
538
+ - acceptance/bin/httpclient
539
+ - acceptance/bin/inspec
540
+ - acceptance/bin/kitchen
541
+ - acceptance/bin/ldiff
542
+ - acceptance/bin/nokogiri
543
+ - acceptance/bin/pry
544
+ - acceptance/bin/rake
545
+ - acceptance/bin/rspec
546
+ - acceptance/bin/rwinrm
547
+ - acceptance/bin/rwinrmcp
548
+ - acceptance/bin/safe_yaml
549
+ - acceptance/bin/thor
488
550
  - acceptance/data-collector/.acceptance/acceptance-cookbook/.gitignore
489
551
  - acceptance/data-collector/.acceptance/acceptance-cookbook/metadata.rb
490
552
  - acceptance/data-collector/.acceptance/acceptance-cookbook/recipes/destroy.rb
@@ -505,16 +567,18 @@ files:
505
567
  - acceptance/data-collector/Berksfile
506
568
  - acceptance/data-collector/test/integration/default/serverspec/default_spec.rb
507
569
  - acceptance/data-collector/test/integration/helpers/serverspec/Gemfile
508
- - acceptance/fips/.acceptance/acceptance-cookbook/.gitignore
509
- - acceptance/fips/.acceptance/acceptance-cookbook/metadata.rb
510
- - acceptance/fips/.acceptance/acceptance-cookbook/recipes/destroy.rb
511
- - acceptance/fips/.acceptance/acceptance-cookbook/recipes/provision.rb
512
- - acceptance/fips/.acceptance/acceptance-cookbook/recipes/verify.rb
513
- - acceptance/fips/.kitchen.yml
514
- - acceptance/fips/test/integration/fips-integration/serverspec/Gemfile
515
- - acceptance/fips/test/integration/fips-integration/serverspec/fips-integration_spec.rb
516
- - acceptance/fips/test/integration/fips-unit-functional/serverspec/Gemfile
517
- - acceptance/fips/test/integration/fips-unit-functional/serverspec/fips-unit-functional_spec.rb
570
+ - acceptance/fips/.kitchen/fips-unit-functional-centos-6.yml
571
+ - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/action_set_name
572
+ - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/creator_uid
573
+ - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/id
574
+ - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/index_uuid
575
+ - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/private_key
576
+ - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/.vagrant/machines/default/virtualbox/synced_folders
577
+ - acceptance/fips/.kitchen/kitchen-vagrant/kitchen-fips-fips-unit-functional-centos-6/Vagrantfile
578
+ - acceptance/fips/.kitchen/logs/fips-integration-centos-6.log
579
+ - acceptance/fips/.kitchen/logs/fips-integration-windows-2012r2.log
580
+ - acceptance/fips/.kitchen/logs/fips-unit-functional-centos-6.log
581
+ - acceptance/fips/.kitchen/logs/kitchen.log
518
582
  - acceptance/omnitruck/.acceptance/acceptance-cookbook/.gitignore
519
583
  - acceptance/omnitruck/.acceptance/acceptance-cookbook/metadata.rb
520
584
  - acceptance/omnitruck/.acceptance/acceptance-cookbook/recipes/destroy.rb
@@ -1200,7 +1264,6 @@ files:
1200
1264
  - lib/chef/provider/apt_repository.rb
1201
1265
  - lib/chef/provider/apt_update.rb
1202
1266
  - lib/chef/provider/batch.rb
1203
- - lib/chef/provider/breakpoint.rb
1204
1267
  - lib/chef/provider/cookbook_file.rb
1205
1268
  - lib/chef/provider/cookbook_file/content.rb
1206
1269
  - lib/chef/provider/cron.rb
@@ -1949,6 +2012,7 @@ files:
1949
2012
  - spec/functional/resource/user/windows_spec.rb
1950
2013
  - spec/functional/resource/windows_package_spec.rb
1951
2014
  - spec/functional/resource/windows_service_spec.rb
2015
+ - spec/functional/resource/windows_task_spec.rb
1952
2016
  - spec/functional/root_alias_spec.rb
1953
2017
  - spec/functional/run_lock_spec.rb
1954
2018
  - spec/functional/shell_spec.rb
@@ -2355,7 +2419,6 @@ files:
2355
2419
  - spec/unit/property_spec.rb
2356
2420
  - spec/unit/provider/apt_repository_spec.rb
2357
2421
  - spec/unit/provider/apt_update_spec.rb
2358
- - spec/unit/provider/breakpoint_spec.rb
2359
2422
  - spec/unit/provider/cookbook_file/content_spec.rb
2360
2423
  - spec/unit/provider/cookbook_file_spec.rb
2361
2424
  - spec/unit/provider/cron/unix_spec.rb
@@ -2465,6 +2528,7 @@ files:
2465
2528
  - spec/unit/provider/systemd_unit_spec.rb
2466
2529
  - spec/unit/provider/template/content_spec.rb
2467
2530
  - spec/unit/provider/template_spec.rb
2531
+ - spec/unit/provider/user/aix_spec.rb
2468
2532
  - spec/unit/provider/user/dscl_spec.rb
2469
2533
  - spec/unit/provider/user/linux_spec.rb
2470
2534
  - spec/unit/provider/user/pw_spec.rb
@@ -2605,13 +2669,11 @@ files:
2605
2669
  - spec/unit/win32/security_spec.rb
2606
2670
  - spec/unit/windows_service_spec.rb
2607
2671
  - tasks/announce.rb
2608
- - tasks/bin/create-override-gemfile
2609
2672
  - tasks/bin/run_external_test
2610
2673
  - tasks/bundle.rb
2611
2674
  - tasks/cbgb.rb
2612
2675
  - tasks/changelog.rb
2613
2676
  - tasks/dependencies.rb
2614
- - tasks/gemfile_util.rb
2615
2677
  - tasks/maintainers.rb
2616
2678
  - tasks/rspec.rb
2617
2679
  - tasks/templates/prerelease.md.erb
@@ -2625,7 +2687,6 @@ post_install_message:
2625
2687
  rdoc_options: []
2626
2688
  require_paths:
2627
2689
  - lib
2628
- - lib-backcompat
2629
2690
  required_ruby_version: !ruby/object:Gem::Requirement
2630
2691
  requirements:
2631
2692
  - - ">="
@@ -1,2 +0,0 @@
1
- name "acceptance-cookbook"
2
- depends "kitchen_acceptance"
@@ -1,8 +0,0 @@
1
- suites:
2
- - name: fips-unit-functional
3
- includes: [centos-6]
4
- run_list:
5
-
6
- - name: fips-integration
7
- includes: [centos-6, windows-2012r2]
8
- run_list:
@@ -1,9 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- # Until https://github.com/test-kitchen/busser-serverspec/pull/42 is merged and
4
- # released, we need to include rake and rspec-core in the Gemfile
5
- gem "rake"
6
- gem "rspec-core"
7
- gem "busser-serverspec"
8
- gem "serverspec"
9
- gem "mixlib-shellout"