cookbooks/mu-tools/recipes/updates.rb in cloud-mu-2.0.0.pre.alpha7 vs cookbooks/mu-tools/recipes/updates.rb in cloud-mu-2.0.0.pre.alpha8
- old
+ new
@@ -32,10 +32,10 @@
["C:/Users/#{node['windows_admin_username']}/Documents/WindowsPowerShell/Modules", "c:\\windows\\System32\\WindowsPowerShell\\v1.0\\Modules"].each { |dir|
windows_zipfile dir do
source "#{Chef::Config[:file_cache_path]}/PSWindowsUpdate.zip"
action :unzip
- not_if { File.exists?("#{dir}/PSWindowsUpdate") }
+ not_if { File.exist?("#{dir}/PSWindowsUpdate") }
end
}
registry_key 'HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WindowsUpdate\\Auto Update' do
values [{