Permalink
Browse files

[COOK-773] win_friendly_path is no longer a module_function

  • Loading branch information...
1 parent 7d07452 commit 7fc6fe91658d1c724a15b3ea086afdcf3324e3cd @schisamo schisamo committed Sep 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 sql_server/recipes/server.rb
View
4 sql_server/recipes/server.rb
@@ -26,7 +26,7 @@
node.set_unless['sql_server']['server_sa_password'] = secure_password
node.save # force a save so we don't lose our generated password on a failed chef run
-config_file_path = File.join(Chef::Config[:file_cache_path], "ConfigurationFile.ini")
+config_file_path = win_friendly_path(File.join(Chef::Config[:file_cache_path], "ConfigurationFile.ini"))
template config_file_path do
source "ConfigurationFile.ini.erb"
@@ -36,7 +36,7 @@
source node['sql_server']['server']['url']
checksum node['sql_server']['server']['checksum']
installer_type :custom
- options "/q /ConfigurationFile=#{Windows::Helper.win_friendly_path(config_file_path)}"
+ options "/q /ConfigurationFile=#{config_file_path}"
action :install
end

0 comments on commit 7fc6fe9

Please sign in to comment.