[英]Tomcat chef recipe is not using the right version
How can I correctly tell the tomcat chef recipes to use the version 8 of tomcat. 如何正确地告诉tomcat厨师食谱使用tomcat的版本8。
I try these lines in a attributes/default.rb file of a recipe depending on tomcat: 我根据tomcat在配方的attributes / default.rb文件中尝试这些行:
override['tomcat']['base_version'] = 8
default['tomcat']['base_version'] = 8
raise node['tomcat']['base_instance']
It displays 它显示
RuntimeError
------------
tomcat6
How can I get tomcat recipe using installing tomcat8? 如何通过安装tomcat8获得tomcat配方?
Why don't you specify the override using a role? 为什么不使用角色指定替代? For example:
例如:
How to customise a tomcat recipe in Chef 如何在Chef中自定义tomcat食谱
It's also worth noting that the java cookbook uses packages to install tomcat but "tomcat8" is currently not available yet in the Ubuntu repositories... 还要注意的是,Java Cookbook 使用软件包来安装tomcat,但是“ tomcat8”目前在Ubuntu存储库中尚不可用...
Hope this helps 希望这可以帮助
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.