windows_package 'JDK' do
source 'http://tvmatp236702d:8081/nexus/content/repositories/CSDP/jdk/windows/jdk_windows/1.0.0/jdk_windows-1.0.0.exe'
options '-ms'
installer_type :custom
action :install
end在运行上述菜谱时,将下载jdk,但在安装过程中,我会得到以下错误:
**RuntimeError:
Unable to find a Chef::Provider::Package::Windows provider for installer_type 'custom'**发布于 2016-02-24 05:04:05
:custom安装程序类型仅在12.6中添加到主厨的核心。在此之前,您需要包括windows食谱。
https://stackoverflow.com/questions/35578072
复制相似问题