I have the following resource
windows_package “Install App1” do
source “{node.cookbook.package_url}”
action :install
end
In my case, node.cookbook.package_url = http://file-server.domain.com/path/app1.msi
Chef chef-client run fails, and error message shows the source attribute as
“C:\\http:\\file-server-domain.com\\path\\app1.msi”
If I remove the windows_package and just use the log resource, I see the correct format. That is
log “{node.cookbook.package_url}”
I see
<date> INFO: http://file-server.domain.com/path/app1.msi
What am I missing?
Chris
Archive powered by MHonArc 2.6.16.