chef 15.2.20 → 15.3.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -2
  3. data/chef.gemspec +3 -2
  4. data/lib/chef/application.rb +1 -1
  5. data/lib/chef/application/base.rb +7 -0
  6. data/lib/chef/application/client.rb +6 -2
  7. data/lib/chef/application/solo.rb +7 -1
  8. data/lib/chef/cookbook/gem_installer.rb +7 -2
  9. data/lib/chef/exceptions.rb +12 -0
  10. data/lib/chef/knife/bootstrap.rb +8 -1
  11. data/lib/chef/knife/bootstrap/templates/chef-full.erb +1 -1
  12. data/lib/chef/knife/bootstrap/train_connector.rb +3 -3
  13. data/lib/chef/knife/cookbook_metadata_from_file.rb +1 -1
  14. data/lib/chef/node.rb +0 -2
  15. data/lib/chef/policy_builder/expand_node_object.rb +1 -1
  16. data/lib/chef/policy_builder/policyfile.rb +4 -3
  17. data/lib/chef/provider.rb +4 -2
  18. data/lib/chef/provider/ifconfig.rb +5 -3
  19. data/lib/chef/provider/package/chocolatey.rb +12 -22
  20. data/lib/chef/provider/user.rb +1 -1
  21. data/lib/chef/provider/user/dscl.rb +2 -2
  22. data/lib/chef/provider/user/mac.rb +628 -0
  23. data/lib/chef/providers.rb +1 -0
  24. data/lib/chef/resource.rb +28 -20
  25. data/lib/chef/resource/chocolatey_feature.rb +1 -1
  26. data/lib/chef/resource/chocolatey_package.rb +2 -2
  27. data/lib/chef/resource/cron_d.rb +1 -1
  28. data/lib/chef/resource/ohai.rb +1 -1
  29. data/lib/chef/resource/resource_notification.rb +17 -13
  30. data/lib/chef/resource/ruby_block.rb +1 -1
  31. data/lib/chef/resource/service.rb +1 -1
  32. data/lib/chef/resource/user.rb +1 -0
  33. data/lib/chef/resource/user/dscl_user.rb +1 -1
  34. data/lib/chef/resource/user/mac_user.rb +119 -0
  35. data/lib/chef/resource/windows_ad_join.rb +1 -1
  36. data/lib/chef/resource_collection.rb +6 -0
  37. data/lib/chef/resources.rb +1 -0
  38. data/lib/chef/run_context.rb +61 -27
  39. data/lib/chef/runner.rb +50 -12
  40. data/lib/chef/version.rb +1 -1
  41. data/spec/functional/resource/chocolatey_package_spec.rb +19 -1
  42. data/spec/functional/resource/user/mac_user_spec.rb +207 -0
  43. data/spec/integration/client/client_spec.rb +22 -0
  44. data/spec/integration/knife/raw_spec.rb +39 -19
  45. data/spec/integration/knife/redirection_spec.rb +22 -13
  46. data/spec/integration/knife/serve_spec.rb +1 -2
  47. data/spec/integration/recipes/unified_mode_spec.rb +876 -0
  48. data/spec/spec_helper.rb +1 -0
  49. data/spec/support/platform_helpers.rb +10 -0
  50. data/spec/support/shared/integration/integration_helper.rb +1 -2
  51. data/spec/unit/application/client_spec.rb +5 -6
  52. data/spec/unit/application/solo_spec.rb +3 -8
  53. data/spec/unit/application_spec.rb +1 -1
  54. data/spec/unit/cookbook/gem_installer_spec.rb +22 -1
  55. data/spec/unit/knife/bootstrap/train_connector_spec.rb +20 -7
  56. data/spec/unit/knife/bootstrap_spec.rb +13 -5
  57. data/spec/unit/provider/ifconfig_spec.rb +11 -0
  58. data/spec/unit/provider/package/chocolatey_spec.rb +34 -30
  59. data/spec/unit/provider/user/dscl_spec.rb +1 -0
  60. data/spec/unit/provider/user/mac_spec.rb +38 -0
  61. data/spec/unit/provider/user_spec.rb +38 -22
  62. data/tasks/docs.rb +14 -10
  63. metadata +25 -41
  64. data/lib/.DS_Store +0 -0
  65. data/lib/chef/.DS_Store +0 -0
  66. data/lib/chef/dsl/.DS_Store +0 -0
  67. data/lib/chef/knife/.DS_Store +0 -0
  68. data/lib/chef/mixin/.DS_Store +0 -0
  69. data/lib/chef/provider/.DS_Store +0 -0
  70. data/lib/chef/provider/package/.DS_Store +0 -0
  71. data/lib/chef/provider/package/freebsd/.DS_Store +0 -0
  72. data/lib/chef/resource/.DS_Store +0 -0
  73. data/lib/chef/resource/file/.DS_Store +0 -0
  74. data/spec/.DS_Store +0 -0
  75. data/spec/data/.DS_Store +0 -0
  76. data/spec/data/cookbooks/.DS_Store +0 -0
  77. data/spec/data/cookbooks/java/.DS_Store +0 -0
  78. data/spec/data/cookbooks/java/files/.DS_Store +0 -0
  79. data/spec/data/mac_users/.DS_Store +0 -0
  80. data/spec/data/nodes/Tim.local.json +0 -3
  81. data/spec/data/nodes/Tims-MBP.local.json +0 -3
  82. data/spec/data/run_context/.DS_Store +0 -0
  83. data/spec/data/run_context/cookbooks/.DS_Store +0 -0
  84. data/spec/functional/.DS_Store +0 -0
  85. data/spec/functional/resource/.DS_Store +0 -0
  86. data/spec/functional/util/.DS_Store +0 -0
  87. data/spec/integration/.DS_Store +0 -0
  88. data/spec/stress/.DS_Store +0 -0
  89. data/spec/support/.DS_Store +0 -0
  90. data/spec/support/shared/integration/app_server_support.rb +0 -39
  91. data/spec/unit/.DS_Store +0 -0
  92. data/tasks/.DS_Store +0 -0
@@ -35,6 +35,7 @@ describe Chef::Provider::User::Dscl do
35
35
  let(:node) do
36
36
  Chef::Node.new.tap do |node|
37
37
  node.automatic["os"] = "darwin"
38
+ node.automatic["platform_version"] = "10.13.0"
38
39
  end
39
40
  end
40
41
 
@@ -0,0 +1,38 @@
1
+ #
2
+ # Author:: Ryan Cragun (<ryan@chef.io>)
3
+ # Copyright:: Copyright (c) 2019 Chef Software, Inc.
4
+ # License:: Apache License, Version 2.0
5
+ #
6
+ # Licensed under the Apache License, Version 2.0 (the "License");
7
+ # you may not use this file except in compliance with the License.
8
+ # You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing, software
13
+ # distributed under the License is distributed on an "AS IS" BASIS,
14
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ # See the License for the specific language governing permissions and
16
+ # limitations under the License.
17
+ #
18
+
19
+ require "spec_helper"
20
+
21
+ describe Chef::Provider::User::MacUser do
22
+ before do
23
+ allow(ChefConfig).to receive(:windows?) { false }
24
+ end
25
+
26
+ let(:new_resource) { Chef::Resource::User::MacUser.new("jane") }
27
+
28
+ let(:provider) do
29
+ node = Chef::Node.new
30
+ events = Chef::EventDispatch::Dispatcher.new
31
+ run_context = Chef::RunContext.new(node, {}, events)
32
+ described_class.new(new_resource, run_context)
33
+ end
34
+
35
+ it "responds to load_current_resource" do
36
+ expect(provider).to respond_to(:load_current_resource)
37
+ end
38
+ end
@@ -444,35 +444,51 @@ describe Chef::Provider::User do
444
444
 
445
445
  describe "convert_group_name" do
446
446
  before do
447
- @new_resource.gid("999")
448
447
  @group = EtcGrnamIsh.new("wheel", "*", 999, [])
449
448
  end
450
449
 
451
- it "should lookup the group name locally" do
452
- expect(Etc).to receive(:getgrnam).with("999").and_return(@group)
453
- expect(@provider.convert_group_name).to eq(999)
454
- end
450
+ context "when user passes group name in gid" do
451
+ before do
452
+ @new_resource.gid("wheel")
453
+ end
455
454
 
456
- it "should raise an error if we can't translate the group name during resource assertions" do
457
- expect(Etc).to receive(:getgrnam).and_raise(ArgumentError)
458
- @provider.action = :create
459
- @provider.define_resource_requirements
460
- @provider.convert_group_name
461
- expect { @provider.process_resource_requirements }.to raise_error(Chef::Exceptions::User)
462
- end
455
+ it "should lookup the group name locally" do
456
+ expect(Etc).to receive(:getgrnam).with("wheel").and_return(@group)
457
+ expect(@provider.convert_group_name).to eq(999)
458
+ end
459
+
460
+ it "should raise an error if we can't translate the group name during resource assertions" do
461
+ expect(Etc).to receive(:getgrnam).and_raise(ArgumentError)
462
+ @provider.action = :create
463
+ @provider.define_resource_requirements
464
+ @provider.convert_group_name
465
+ expect { @provider.process_resource_requirements }.to raise_error(Chef::Exceptions::User)
466
+ end
463
467
 
464
- it "does not raise an error if we can't translate the group name during resource assertions if we are removing the user" do
465
- expect(Etc).to receive(:getgrnam).and_raise(ArgumentError)
466
- @provider.action = :remove
467
- @provider.define_resource_requirements
468
- @provider.convert_group_name
469
- expect { @provider.process_resource_requirements }.not_to raise_error
468
+ it "does not raise an error if we can't translate the group name during resource assertions if we are removing the user" do
469
+ expect(Etc).to receive(:getgrnam).and_raise(ArgumentError)
470
+ @provider.action = :remove
471
+ @provider.define_resource_requirements
472
+ @provider.convert_group_name
473
+ expect { @provider.process_resource_requirements }.not_to raise_error
474
+ end
475
+
476
+ it "should set the new resources gid to the integerized version if available" do
477
+ expect(Etc).to receive(:getgrnam).with("wheel").and_return(@group)
478
+ @provider.convert_group_name
479
+ expect(@new_resource.gid).to eq(999)
480
+ end
470
481
  end
471
482
 
472
- it "should set the new resources gid to the integerized version if available" do
473
- expect(Etc).to receive(:getgrnam).with("999").and_return(@group)
474
- @provider.convert_group_name
475
- expect(@new_resource.gid).to eq(999)
483
+ context "when user passes group id in gid" do
484
+ before do
485
+ @new_resource.gid(999)
486
+ end
487
+
488
+ it "should not call getgrnam" do
489
+ expect(Etc).not_to receive(:getgrnam)
490
+ @provider.convert_group_name
491
+ end
476
492
  end
477
493
  end
478
494
  end
@@ -156,6 +156,7 @@ namespace :docs_site do
156
156
 
157
157
  Notifications
158
158
  -----------------------------------------------------
159
+
159
160
  ``notifies``
160
161
  **Ruby Type:** Symbol, 'Chef::Resource[String]'
161
162
 
@@ -167,13 +168,13 @@ namespace :docs_site do
167
168
 
168
169
  .. tag resources_common_notification_timers
169
170
 
170
- A timer specifies the point during the Chef Infra Client run at which a notification is run. The following timers are available:
171
+ A timer specifies the point during a Chef Infra Client run at which a notification is run. The following timers are available:
171
172
 
172
173
  ``:before``
173
174
  Specifies that the action on a notified resource should be run before processing the resource block in which the notification is located.
174
175
 
175
176
  ``:delayed``
176
- Default. Specifies that a notification should be queued up, and then executed at the end of the Chef Infra Client run.
177
+ Default. Specifies that a notification should be queued up, and then executed at the end of a Chef Infra Client run.
177
178
 
178
179
  ``:immediate``, ``:immediately``
179
180
  Specifies that a notification should be run immediately, per resource notified.
@@ -216,13 +217,13 @@ namespace :docs_site do
216
217
 
217
218
  .. tag resources_common_notification_timers
218
219
 
219
- A timer specifies the point during the Chef Infra Client run at which a notification is run. The following timers are available:
220
+ A timer specifies the point during a Chef Infra Client run at which a notification is run. The following timers are available:
220
221
 
221
222
  ``:before``
222
223
  Specifies that the action on a notified resource should be run before processing the resource block in which the notification is located.
223
224
 
224
225
  ``:delayed``
225
- Default. Specifies that a notification should be queued up, and then executed at the end of the Chef Infra Client run.
226
+ Default. Specifies that a notification should be queued up, and then executed at the end of a Chef Infra Client run.
226
227
 
227
228
  ``:immediate``, ``:immediately``
228
229
  Specifies that a notification should be run immediately, per resource notified.
@@ -244,17 +245,20 @@ namespace :docs_site do
244
245
 
245
246
  .. tag resources_common_guards
246
247
 
247
- A guard property can be used to evaluate the state of a node during the execution phase of the Chef Infra Client run. Based on the results of this evaluation, a guard property is then used to tell the Chef Infra Client if it should continue executing a resource. A guard property accepts either a string value or a Ruby block value:
248
+ A guard property can be used to evaluate the state of a node during the execution phase of a Chef Infra Client run. Based on the results of this evaluation, a guard property is then used to tell Chef Infra Client if it should continue executing a resource. A guard property accepts either a string value or a Ruby block value:
248
249
 
249
250
  * A string is executed as a shell command. If the command returns ``0``, the guard is applied. If the command returns any other value, then the guard property is not applied. String guards in a **powershell_script** run Windows PowerShell commands and may return ``true`` in addition to ``0``.
250
251
  * A block is executed as Ruby code that must return either ``true`` or ``false``. If the block returns ``true``, the guard property is applied. If the block returns ``false``, the guard property is not applied.
251
252
 
252
- A guard property is useful for ensuring that a resource is idempotent by allowing that resource to test for the desired state as it is being executed, and then if the desired state is present, for the Chef Infra Client to do nothing.
253
+ A guard property is useful for ensuring that a resource is idempotent by allowing that resource to test for the desired state as it is being executed, and then if the desired state is present, for Chef Infra Client to do nothing.
253
254
 
254
255
  .. end_tag
256
+
257
+ **Properties**
258
+
255
259
  .. tag resources_common_guards_properties
256
260
 
257
- The following properties can be used to define a guard that is evaluated during the execution phase of the Chef Infra Client run:
261
+ The following properties can be used to define a guard that is evaluated during the execution phase of a Chef Infra Client run:
258
262
 
259
263
  ``not_if``
260
264
  Prevent a resource from executing when the condition returns ``true``.
@@ -305,7 +309,7 @@ The <%= @name %> resource has the following actions:
305
309
  ``:nothing``
306
310
  .. tag resources_common_actions_nothing
307
311
 
308
- This resource block does not act unless notified by another resource to take action. Once notified, this resource block either runs immediately or is queued up to run at the end of the Chef Infra Client run.
312
+ This resource block does not act unless notified by another resource to take action. Once notified, this resource block either runs immediately or is queued up to run at the end of a Chef Infra Client run.
309
313
 
310
314
  .. end_tag
311
315
 
@@ -317,8 +321,8 @@ The <%= @name %> resource has the following properties:
317
321
  ``<%= p['name'] %>``
318
322
  **Ruby Type:** <%= friendly_types_list(p['is']) %><% unless pretty_default(p['default']).nil? %> | **Default Value:** ``<%= pretty_default(p['default']) %>``<% end %><% if p['required'] %> | ``REQUIRED``<% end %><% if p['deprecated'] %> | ``DEPRECATED``<% end %><% if p['name_property'] %> | **Default Value:** ``The resource block's name``<% end %>
319
323
 
320
- <%= p['description'] %>
321
- <% unless p['introduced'].nil? -%>\n *New in <%= branded_chef_client_name(@introduced) %> <%= p['introduced'] -%>.*<% end -%>
324
+ <% unless p['description'].nil? %> <%= p['description'].strip %><% end %>
325
+ <% unless p['introduced'].nil? -%>\n\n *New in <%= branded_chef_client_name(p['introduced']) %> <%= p['introduced'] -%>.*\n<% end -%>
322
326
  <% end %>
323
327
  <% if @properties.empty? %>This resource does not have any properties.\n<% end -%>
324
328
  <%= boilerplate_content %>
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: 15.2.20
4
+ version: 15.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Jacob
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-09 00:00:00.000000000 Z
11
+ date: 2019-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chef-config
@@ -16,34 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 15.2.20
19
+ version: 15.3.14
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: 15.2.20
26
+ version: 15.3.14
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: train-core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '2.0'
34
- - - ">="
35
- - !ruby/object:Gem::Version
36
- version: 2.0.12
33
+ version: '3.0'
37
34
  type: :runtime
38
35
  prerelease: false
39
36
  version_requirements: !ruby/object:Gem::Requirement
40
37
  requirements:
41
38
  - - "~>"
42
39
  - !ruby/object:Gem::Version
43
- version: '2.0'
40
+ version: '3.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: train-winrm
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
44
45
  - - ">="
45
46
  - !ruby/object:Gem::Version
46
- version: 2.0.12
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: license-acceptance
49
57
  requirement: !ruby/object:Gem::Requirement
@@ -124,7 +132,7 @@ dependencies:
124
132
  requirements:
125
133
  - - ">="
126
134
  - !ruby/object:Gem::Version
127
- version: '2.4'
135
+ version: 3.0.3
128
136
  - - "<"
129
137
  - !ruby/object:Gem::Version
130
138
  version: '4.0'
@@ -134,7 +142,7 @@ dependencies:
134
142
  requirements:
135
143
  - - ">="
136
144
  - !ruby/object:Gem::Version
137
- version: '2.4'
145
+ version: 3.0.3
138
146
  - - "<"
139
147
  - !ruby/object:Gem::Version
140
148
  version: '4.0'
@@ -505,9 +513,7 @@ files:
505
513
  - bin/knife
506
514
  - chef-universal-mingw32.gemspec
507
515
  - chef.gemspec
508
- - lib/.DS_Store
509
516
  - lib/chef.rb
510
- - lib/chef/.DS_Store
511
517
  - lib/chef/action_collection.rb
512
518
  - lib/chef/api_client.rb
513
519
  - lib/chef/api_client/registration.rb
@@ -667,7 +673,6 @@ files:
667
673
  - lib/chef/digester.rb
668
674
  - lib/chef/dist.rb
669
675
  - lib/chef/dsl.rb
670
- - lib/chef/dsl/.DS_Store
671
676
  - lib/chef/dsl/cheffish.rb
672
677
  - lib/chef/dsl/core.rb
673
678
  - lib/chef/dsl/data_query.rb
@@ -753,7 +758,6 @@ files:
753
758
  - lib/chef/json_compat.rb
754
759
  - lib/chef/key.rb
755
760
  - lib/chef/knife.rb
756
- - lib/chef/knife/.DS_Store
757
761
  - lib/chef/knife/bootstrap.rb
758
762
  - lib/chef/knife/bootstrap/chef_vault_handler.rb
759
763
  - lib/chef/knife/bootstrap/client_builder.rb
@@ -904,7 +908,6 @@ files:
904
908
  - lib/chef/log/syslog.rb
905
909
  - lib/chef/log/winevt.rb
906
910
  - lib/chef/mash.rb
907
- - lib/chef/mixin/.DS_Store
908
911
  - lib/chef/mixin/api_version_request_handling.rb
909
912
  - lib/chef/mixin/checksum.rb
910
913
  - lib/chef/mixin/convert_to_class_name.rb
@@ -978,7 +981,6 @@ files:
978
981
  - lib/chef/powershell.rb
979
982
  - lib/chef/property.rb
980
983
  - lib/chef/provider.rb
981
- - lib/chef/provider/.DS_Store
982
984
  - lib/chef/provider/apt_preference.rb
983
985
  - lib/chef/provider/apt_repository.rb
984
986
  - lib/chef/provider/apt_update.rb
@@ -1026,7 +1028,6 @@ files:
1026
1028
  - lib/chef/provider/ohai.rb
1027
1029
  - lib/chef/provider/osx_profile.rb
1028
1030
  - lib/chef/provider/package.rb
1029
- - lib/chef/provider/package/.DS_Store
1030
1031
  - lib/chef/provider/package/apt.rb
1031
1032
  - lib/chef/provider/package/bff.rb
1032
1033
  - lib/chef/provider/package/cab.rb
@@ -1037,7 +1038,6 @@ files:
1037
1038
  - lib/chef/provider/package/dnf/python_helper.rb
1038
1039
  - lib/chef/provider/package/dnf/version.rb
1039
1040
  - lib/chef/provider/package/dpkg.rb
1040
- - lib/chef/provider/package/freebsd/.DS_Store
1041
1041
  - lib/chef/provider/package/freebsd/base.rb
1042
1042
  - lib/chef/provider/package/freebsd/pkgng.rb
1043
1043
  - lib/chef/provider/package/freebsd/port.rb
@@ -1122,6 +1122,7 @@ files:
1122
1122
  - lib/chef/provider/user/aix.rb
1123
1123
  - lib/chef/provider/user/dscl.rb
1124
1124
  - lib/chef/provider/user/linux.rb
1125
+ - lib/chef/provider/user/mac.rb
1125
1126
  - lib/chef/provider/user/pw.rb
1126
1127
  - lib/chef/provider/user/solaris.rb
1127
1128
  - lib/chef/provider/user/windows.rb
@@ -1138,7 +1139,6 @@ files:
1138
1139
  - lib/chef/request_id.rb
1139
1140
  - lib/chef/reserved_names.rb
1140
1141
  - lib/chef/resource.rb
1141
- - lib/chef/resource/.DS_Store
1142
1142
  - lib/chef/resource/action_class.rb
1143
1143
  - lib/chef/resource/apt_package.rb
1144
1144
  - lib/chef/resource/apt_preference.rb
@@ -1172,7 +1172,6 @@ files:
1172
1172
  - lib/chef/resource/dsc_script.rb
1173
1173
  - lib/chef/resource/execute.rb
1174
1174
  - lib/chef/resource/file.rb
1175
- - lib/chef/resource/file/.DS_Store
1176
1175
  - lib/chef/resource/file/verification.rb
1177
1176
  - lib/chef/resource/file/verification/systemd_unit.rb
1178
1177
  - lib/chef/resource/freebsd_package.rb
@@ -1256,6 +1255,7 @@ files:
1256
1255
  - lib/chef/resource/user/aix_user.rb
1257
1256
  - lib/chef/resource/user/dscl_user.rb
1258
1257
  - lib/chef/resource/user/linux_user.rb
1258
+ - lib/chef/resource/user/mac_user.rb
1259
1259
  - lib/chef/resource/user/pw_user.rb
1260
1260
  - lib/chef/resource/user/solaris_user.rb
1261
1261
  - lib/chef/resource/user/windows_user.rb
@@ -1390,8 +1390,6 @@ files:
1390
1390
  - lib/chef/win32/version.rb
1391
1391
  - lib/chef/win32_service_constants.rb
1392
1392
  - lib/chef/workstation_config_loader.rb
1393
- - spec/.DS_Store
1394
- - spec/data/.DS_Store
1395
1393
  - spec/data/apt/chef-integration-test-1.0/debian/changelog
1396
1394
  - spec/data/apt/chef-integration-test-1.0/debian/compat
1397
1395
  - spec/data/apt/chef-integration-test-1.0/debian/control
@@ -1489,7 +1487,6 @@ files:
1489
1487
  - spec/data/client.d_01/foo/bar.rb
1490
1488
  - spec/data/client.d_02/foo.rb/foo.txt
1491
1489
  - spec/data/config.rb
1492
- - spec/data/cookbooks/.DS_Store
1493
1490
  - spec/data/cookbooks/angrybash/metadata.rb
1494
1491
  - spec/data/cookbooks/angrybash/recipes/default.rb
1495
1492
  - spec/data/cookbooks/apache2/files/default/apache2_module_conf_generate.pl
@@ -1505,8 +1502,6 @@ files:
1505
1502
  - spec/data/cookbooks/ignorken/recipes/ignoreme.rb
1506
1503
  - spec/data/cookbooks/ignorken/templates/ubuntu-12.10/not_me.rb
1507
1504
  - spec/data/cookbooks/irssi/files/default/irssi.response
1508
- - spec/data/cookbooks/java/.DS_Store
1509
- - spec/data/cookbooks/java/files/.DS_Store
1510
1505
  - spec/data/cookbooks/java/files/default/java.response
1511
1506
  - spec/data/cookbooks/java/metadata.rb
1512
1507
  - spec/data/cookbooks/name-mismatch-versionnumber/README.md
@@ -1604,15 +1599,12 @@ files:
1604
1599
  - spec/data/lwrp_const_scoping/resources/conflict.rb
1605
1600
  - spec/data/lwrp_override/providers/buck_passer.rb
1606
1601
  - spec/data/lwrp_override/resources/foo.rb
1607
- - spec/data/mac_users/.DS_Store
1608
1602
  - spec/data/mac_users/10.9.plist.xml
1609
1603
  - spec/data/mac_users/10.9.shadow.xml
1610
1604
  - spec/data/metadata/quick_start/metadata.rb
1611
1605
  - spec/data/mixin/invalid_data.rb
1612
1606
  - spec/data/mixin/real_data.rb
1613
1607
  - spec/data/nested.json
1614
- - spec/data/nodes/Tim.local.json
1615
- - spec/data/nodes/Tims-MBP.local.json
1616
1608
  - spec/data/nodes/default.rb
1617
1609
  - spec/data/nodes/test.example.com.rb
1618
1610
  - spec/data/nodes/test.rb
@@ -1649,8 +1641,6 @@ files:
1649
1641
  - spec/data/root_alias_cookbooks/simple/attributes.rb
1650
1642
  - spec/data/root_alias_cookbooks/simple/metadata.rb
1651
1643
  - spec/data/root_alias_cookbooks/simple/recipe.rb
1652
- - spec/data/run_context/.DS_Store
1653
- - spec/data/run_context/cookbooks/.DS_Store
1654
1644
  - spec/data/run_context/cookbooks/circular-dep1/attributes/default.rb
1655
1645
  - spec/data/run_context/cookbooks/circular-dep1/definitions/circular_dep1_res.rb
1656
1646
  - spec/data/run_context/cookbooks/circular-dep1/libraries/lib.rb
@@ -1759,7 +1749,6 @@ files:
1759
1749
  - spec/data/windows_certificates/test.p7b
1760
1750
  - spec/data/windows_certificates/test.pem
1761
1751
  - spec/data/windows_certificates/test.pfx
1762
- - spec/functional/.DS_Store
1763
1752
  - spec/functional/application_spec.rb
1764
1753
  - spec/functional/assets/PkgA.1.0.0.0.bff
1765
1754
  - spec/functional/assets/PkgA.2.0.0.0.bff
@@ -1831,7 +1820,6 @@ files:
1831
1820
  - spec/functional/provider/remote_file/cache_control_data_spec.rb
1832
1821
  - spec/functional/provider/whyrun_safe_ruby_block_spec.rb
1833
1822
  - spec/functional/rebooter_spec.rb
1834
- - spec/functional/resource/.DS_Store
1835
1823
  - spec/functional/resource/aix_service_spec.rb
1836
1824
  - spec/functional/resource/aixinit_service_spec.rb
1837
1825
  - spec/functional/resource/apt_package_spec.rb
@@ -1867,6 +1855,7 @@ files:
1867
1855
  - spec/functional/resource/template_spec.rb
1868
1856
  - spec/functional/resource/timezone_spec.rb
1869
1857
  - spec/functional/resource/user/dscl_spec.rb
1858
+ - spec/functional/resource/user/mac_user_spec.rb
1870
1859
  - spec/functional/resource/user/windows_spec.rb
1871
1860
  - spec/functional/resource/windows_certificate_spec.rb
1872
1861
  - spec/functional/resource/windows_env_spec.rb
@@ -1880,7 +1869,6 @@ files:
1880
1869
  - spec/functional/run_lock_spec.rb
1881
1870
  - spec/functional/shell_spec.rb
1882
1871
  - spec/functional/tiny_server_spec.rb
1883
- - spec/functional/util/.DS_Store
1884
1872
  - spec/functional/util/path_helper_spec.rb
1885
1873
  - spec/functional/util/powershell/cmdlet_spec.rb
1886
1874
  - spec/functional/version_spec.rb
@@ -1891,7 +1879,6 @@ files:
1891
1879
  - spec/functional/win32/sid_spec.rb
1892
1880
  - spec/functional/win32/version_info_spec.rb
1893
1881
  - spec/functional/win32/versions_spec.rb
1894
- - spec/integration/.DS_Store
1895
1882
  - spec/integration/client/client_spec.rb
1896
1883
  - spec/integration/client/exit_code_spec.rb
1897
1884
  - spec/integration/client/ipv6_spec.rb
@@ -1970,15 +1957,14 @@ files:
1970
1957
  - spec/integration/recipes/resource_action_spec.rb
1971
1958
  - spec/integration/recipes/resource_converge_if_changed_spec.rb
1972
1959
  - spec/integration/recipes/resource_load_spec.rb
1960
+ - spec/integration/recipes/unified_mode_spec.rb
1973
1961
  - spec/integration/solo/solo_spec.rb
1974
1962
  - spec/rcov.opts
1975
1963
  - spec/scripts/ssl-serve.rb
1976
1964
  - spec/spec_helper.rb
1977
- - spec/stress/.DS_Store
1978
1965
  - spec/stress/win32/file_spec.rb
1979
1966
  - spec/stress/win32/memory_spec.rb
1980
1967
  - spec/stress/win32/security_spec.rb
1981
- - spec/support/.DS_Store
1982
1968
  - spec/support/chef_helpers.rb
1983
1969
  - spec/support/key_helpers.rb
1984
1970
  - spec/support/lib/chef/provider/easy.rb
@@ -2010,7 +1996,6 @@ files:
2010
1996
  - spec/support/shared/functional/securable_resource_with_reporting.rb
2011
1997
  - spec/support/shared/functional/win32_service.rb
2012
1998
  - spec/support/shared/functional/windows_script.rb
2013
- - spec/support/shared/integration/app_server_support.rb
2014
1999
  - spec/support/shared/integration/integration_helper.rb
2015
2000
  - spec/support/shared/integration/knife_support.rb
2016
2001
  - spec/support/shared/matchers/exit_with_code.rb
@@ -2032,7 +2017,6 @@ files:
2032
2017
  - spec/support/shared/unit/user_and_client_shared.rb
2033
2018
  - spec/support/shared/unit/windows_script_resource.rb
2034
2019
  - spec/tiny_server.rb
2035
- - spec/unit/.DS_Store
2036
2020
  - spec/unit/action_collection_spec.rb
2037
2021
  - spec/unit/api_client/registration_spec.rb
2038
2022
  - spec/unit/api_client_spec.rb
@@ -2389,6 +2373,7 @@ files:
2389
2373
  - spec/unit/provider/user/aix_spec.rb
2390
2374
  - spec/unit/provider/user/dscl_spec.rb
2391
2375
  - spec/unit/provider/user/linux_spec.rb
2376
+ - spec/unit/provider/user/mac_spec.rb
2392
2377
  - spec/unit/provider/user/pw_spec.rb
2393
2378
  - spec/unit/provider/user/solaris_spec.rb
2394
2379
  - spec/unit/provider/user/windows_spec.rb
@@ -2594,7 +2579,6 @@ files:
2594
2579
  - spec/unit/win32/registry_spec.rb
2595
2580
  - spec/unit/win32/security_spec.rb
2596
2581
  - spec/unit/windows_service_spec.rb
2597
- - tasks/.DS_Store
2598
2582
  - tasks/announce.rb
2599
2583
  - tasks/bin/run_external_test
2600
2584
  - tasks/dependencies.rb