vagrant and chef install everything
This commit is contained in:
14
ops/cookbooks/vendor/t42-common/recipes/php.rb
vendored
Normal file
14
ops/cookbooks/vendor/t42-common/recipes/php.rb
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
unless node['php']['working-dir'][0] == '/'
|
||||
node.override['php']['working-dir'] = "#{node['working-dir']}/#{node['php']['working-dir']}"
|
||||
end
|
||||
|
||||
[
|
||||
'php',
|
||||
'libapache2-mod-php',
|
||||
].each do |pkg|
|
||||
apt_package pkg
|
||||
end
|
||||
|
||||
systemd_unit 'apache2.service' do
|
||||
action :restart
|
||||
end
|
Reference in New Issue
Block a user