23 lines
455 B
Python
23 lines
455 B
Python
files = {
|
|
'/etc/nginx/nginx.conf': {
|
|
'content_type': 'mako',
|
|
'context': node.metadata['nginx'],
|
|
'triggers': {
|
|
'svc_systemd:nginx:restart',
|
|
},
|
|
},
|
|
'/etc/nginx/sites/000-port80.conf': {
|
|
'source': 'port80.conf',
|
|
'triggers': {
|
|
'svc_systemd:nginx:restart',
|
|
},
|
|
},
|
|
}
|
|
|
|
svc_systemd = {
|
|
'nginx': {
|
|
'needs': {
|
|
'pkg_apt:nginx',
|
|
},
|
|
},
|
|
}
|