I'm new to Chef and am trying to disable the default site in Apache via a Chef script using Vagrant. I am trying the following:
include_recipe 'apache2'
# disable default site
apache_site '000-default' do
enable false
end
When I run "Vagrant Up" I get the following error message:
==> default: [2014-10-29T14:16:54+00:00] ERROR: Cookbook apache2 not found. If you're loading apache2 from another cookbook, make sure you configure the dependency in your metadata
==> default: [2014-10-29T14:16:54+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)