php #9

Merged
wmantly merged 3 commits from php into master 2019-06-30 18:11:07 +00:00
3 changed files with 10 additions and 2 deletions

View File

@ -4,7 +4,7 @@ maintainer_email 'you@example.com'
license 'All Rights Reserved'
description 'Installs/Configures t42-common'
long_description 'Installs/Configures t42-common'
version '0.1.3'
version '0.1.4'
chef_version '>= 13.0'
depends 'nodejs'

6
recipes/php.rb Normal file
View File

@ -0,0 +1,6 @@
[
'php',
'libapache2-mod-php',
].each do |pkg|
apt_package pkg
end

View File

@ -41,9 +41,11 @@
</FilesMatch>
</IfModule>
<% if node['web']['static'] %>
<% node['web']['static'].each do |static| -%>
Alias <%= static['uri'] %> <%= node['working-dir'] %>/<%= static['path'] %>
<% end -%>
<% end -%>
<% if node['web']['wsgi'] %>