如果我的基本食谱是这样的:
SSLCERT = node[:site][:SSLCert]
cookbook_file SSLCert do
path "c:/tmp/#{SSLCert}"
action :create_if_missing
end
我的包装有
override[:site][:SSLCert] = "cert.pfx"
我想cert.pfx
在包装食谱中指定文件file/default/cert.pfx
但是,当我运行包装器时,我得到
FileNotFound:cookbook_file[cert.pfx] 不包含任何这些位置的文件....
如何指定说明书文件在包装器中而不是在基本说明书中?