lib/chef/provisioning/machine/windows_machine.rb in chef-provisioning-1.3.0 vs lib/chef/provisioning/machine/windows_machine.rb in chef-provisioning-1.4.0

- old
+ new

@@ -73,9 +73,13 @@ transport.execute("New-Item #{escape(path)} -Type directory") end end end + def system_drive + transport.execute('$env:SystemDrive').stdout.strip + end + # Set file attributes { :owner, :group, :rights } # def set_attributes(action_handler, path, attributes) # end # Get file attributes { :owner, :group, :rights }