bundles/php: introduce

This commit is contained in:
Franzi 2020-10-31 13:00:38 +01:00
parent e2d8923dee
commit f8bc4b2ad9
Signed by: kunsi
GPG key ID: 12E3D2136B818350
8 changed files with 299 additions and 3 deletions

View file

@ -15,6 +15,11 @@ files = {
'svc_systemd:nginx:restart',
},
},
'/etc/nginx/fastcgi.conf': {
'triggers': {
'svc_systemd:nginx:restart',
},
},
'/etc/nginx/sites/stub_status': {
'triggers': {
'svc_systemd:nginx:restart',
@ -60,6 +65,7 @@ for vhost, config in node.metadata.get('nginx', {}).get('vhosts', {}).items():
'content_type': 'mako',
'context': {
'vhost': vhost,
'php_version': node.metadata.get('php', {}).get('version', ''),
**config,
},
'needs': set(),