tomcat - chef-jira Recipe - Vagrant 问题

标签 tomcat vagrant chef-infra jira

使用 https://github.com/bflad/chef-jira 中的 Recipe 使用 Recipe 中的 Vagrantfile

使用命令:

vagrant up ubuntu1204 > c:\temp\chef-jira.log

日志文件中的第一个错误:

==> ubuntu1204: [2014-08-30T14:23:41+00:00] ERROR: Running exception handlers
==> ubuntu1204: [2014-08-30T14:23:41+00:00] ERROR: Exception handlers complete
==> ubuntu1204: [2014-08-30T14:23:41+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
==> ubuntu1204: [2014-08-30T14:23:41+00:00] DEBUG: Chef::Exceptions::ResourceNotFound: resource template[/etc/tomcat6/Catalina/localhost/jira.xml] is configured to notify resource service[tomcat] with action restart, but service[tomcat] cannot be found in the resource collection. template[/etc/tomcat6/Catalina/localhost/jira.xml] is defined in /tmp/vagrant-chef-3/chef-solo-1/cookbooks/jira/recipes/container_server_configuration.rb:8:in `from_file'

关于如何解决错误的任何想法?

谢谢, 莉奥拉

最佳答案

如果方案 A 中的资源依赖于方案 B 中的资源,请在方案 A 之上包含方案 B。

关于tomcat - chef-jira Recipe - Vagrant 问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25583496/

相关文章:

java - 为什么在我启动服务器时 Tomcat 不启动连接器?

docker - Dockerize Wildfly和SSH

windows - 无法在 Vagrant 安装的 Windows 2008 R2 Standard 中运行 PowerShell 脚本

linux - ubuntu 上的 Elastic Enterprise/App search 安装问题

ruby - Chef 菜谱有问题

java - 通过从命令行安装 tomcat 7 maven 插件来下载 spring petclinic

macos - 指定的服务器位置(Catalina 主页)文件夹无效。带有 Netbeans 8.1 的 Tomcat 9

php - 错误 : Could not parse for environment production: Is a directory - with vagrant and puphpet

linux - Linux 中的 remote_file 使用 Windows 共享

mysql - Chef : mysql cookbook does not know root's password after I change it using mysqladmin