diff --git a/recipes/disable_software_updates.rb b/recipes/disable_software_updates.rb index d8711060..44c45749 100644 --- a/recipes/disable_software_updates.rb +++ b/recipes/disable_software_updates.rb @@ -4,6 +4,8 @@ value false end +sleep 10 if node['platform_version'].match?(/10\.11/) + plist 'disable automatic software update check' do path '/Library/Preferences/com.apple.SoftwareUpdate.plist' entry 'AutomaticCheckEnabled'