Skip to content

Instantly share code, notes, and snippets.

@charlesjohnson
Last active December 27, 2015 10:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charlesjohnson/7311287 to your computer and use it in GitHub Desktop.
Save charlesjohnson/7311287 to your computer and use it in GitHub Desktop.
template '/etc/php5/apache2/php.ini' do
source 'php.ini.erb'
cookbook 'php'
owner 'root'
group 'root'
mode '0644'
end
config.vm.provision :chef_solo do |chef|
chef.json = {
:php => {
:directives => {
:display_errors => 'On',
:display_startup_errors => 'On',
:error_reporting => '-1',
:log_errors => 'On'
}
}
}
chef.run_list = [
"recipe[vagrant_main]",
"recipe[vagrant_main::wordpress]",
"recipe[vagrant_main::drupal]",
"recipe[vagrant_main::magento]"
]
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment