在食谱中执行此包资源时,它显示以下错误:
windows_package 'PuTTY version 0.60' do
source 'http://the.earth.li/~sgtatham/putty/latest/x86/putty-0.60-installer.exe'
installer_type :inno
action :install
end
我收到此错误:
FATAL: Chef::Exceptions::ValidationFailed: Option installer_type must be a kind of [String]! You passed :inno.
我也试过:msi,:custom
了,只有同样的错误。同样对于 exe 文件,我们:inno
只需要输入。