diff options
author | Tim Smith <tsmith@chef.io> | 2019-01-14 10:53:55 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2019-01-14 11:19:51 -0800 |
commit | 80b977498872be62924a09ec12edde64e2b6bc0a (patch) | |
tree | 7eba79b4b6a1f1ce682eb985d5c6453b30fa5f94 /spec/functional/resource/user/dscl_spec.rb | |
parent | 00781df2edf5b21fa5f0a98497b6d54d6dbe16bd (diff) | |
download | chef-80b977498872be62924a09ec12edde64e2b6bc0a.tar.gz |
user resource: Remove support for macOS 10.7 and 10.7 upgraded to 10.8+
We can greatly simplify our dscl user provider by removing support for macOS 10.7 and 10.7 which has been upgraded to 10.8. No one is using this anyone as it's beyond EOL with Apple and has been for years.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/functional/resource/user/dscl_spec.rb')
-rw-r--r-- | spec/functional/resource/user/dscl_spec.rb | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/spec/functional/resource/user/dscl_spec.rb b/spec/functional/resource/user/dscl_spec.rb index dab640d4da..0c5dc732f3 100644 --- a/spec/functional/resource/user/dscl_spec.rb +++ b/spec/functional/resource/user/dscl_spec.rb @@ -1,5 +1,5 @@ # -# Copyright:: Copyright 2014-2016, Chef Software, Inc. +# Copyright:: Copyright 2014-2019, Chef Software, Inc. # License:: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -121,13 +121,7 @@ describe "Chef::Resource::User with Chef::Provider::User::Dscl provider", metada describe "when password is being set via shadow hash" do let(:password) do - if node[:platform_version].start_with?("10.7.") - # On Mac 10.7 we only need to set the password - "c9b3bd1a0cde797eef0eff16c580dab996ba3a21961cccc\ -d0f5e65c61558243e50b1a490088bd4824e3b35562d383ca02260398\ -ef1979b302212ec1c5383d1d05fc8d843" - else - "c734b6e4787c3727bb35e29fdd92b97c\ + "c734b6e4787c3727bb35e29fdd92b97c\ 1de12df509577a045728255ec7c6c5f5\ c18efa05ed02b682ffa7ebc05119900e\ b1d4880833aa7a190afc13e2bf0936b8\ @@ -135,7 +129,6 @@ b1d4880833aa7a190afc13e2bf0936b8\ 9464a8c234f3919082400b4f939bb77b\ c5adbbac718b7eb99463a7b679571e0f\ 1c9fef2ef08d0b9e9c2bcf644eed2ffc" - end end let(:iterations) { 25000 } |