How to customise a tomcat recipe in Chef
I've been trying to customise a tomcat chef recipe but nothing I'm doing seems to change the tomcat installation. I'm using vagrant ie. vagrant destroy && vagrant up In Vagrantfile config.vm.provision :chef_solo do |chef| chef.add_recipe "apt" chef.add_recipe "nginx-app" chef.add_recipe "tomcat-app" end cookbooks/tomcat-app/recipes/default.rb # # Cookbook Name:: tomcat-app # Recipe:: default package "tomcat7" do action :install end cookbooks/tomcat-app/attributes.rb node.default["tomcat"]["port"] = 8083 <-- can't seem to make this apply Thanks, I suspect you're writing your own tomcat cookbook