Skip to content
This repository has been archived by the owner on Nov 23, 2017. It is now read-only.

Commit

Permalink
[COOK-773] win_friendly_path is no longer a module_function
Browse files Browse the repository at this point in the history
  • Loading branch information
schisamo committed Sep 29, 2011
1 parent 7d07452 commit 7fc6fe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql_server/recipes/server.rb
Expand Up @@ -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"
Expand All @@ -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

Expand Down

0 comments on commit 7fc6fe9

Please sign in to comment.