Skip to content

Instantly share code, notes, and snippets.

@jmif
Last active December 18, 2015 08:59
Show Gist options
  • Save jmif/5757601 to your computer and use it in GitHub Desktop.
Save jmif/5757601 to your computer and use it in GitHub Desktop.
application "manage" do
path node[:manage][:docroot]
owner node[:apache][:user]
group node[:apache][:user]
repository node[:manage][:repo]
deploy_key node[:manage][:deploy_key]
php do
database_master_role 'mysql'
database do
name node[:apache][:db]
user node[:manage][:user]
password node[:manage][:password]
end
local_settings_file 'config.php'
symlink_before_migrate(
'config.php' => 'application/config.php'
)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment