This commit is contained in:
mwiegand 2021-07-06 23:06:59 +02:00
parent db7baec56e
commit 1114c6d6a3
2 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,7 @@
assert node.has_bundle('nginx')
delegated = 'delegate_to_node' in node.metadata.get('letsencrypt')
directories = {
'/etc/dehydrated/conf.d': {},
'/var/lib/dehydrated/acme-challenges': {},
@ -29,6 +31,7 @@ files = {
actions['letsencrypt_update_certificates'] = {
'command': 'dehydrated --cron --accept-terms --challenge http-01',
'triggered': True,
'skip': delegated,
'needs': {
'svc_systemd:nginx',
},

View file

@ -52,9 +52,9 @@ defaults = {
}
@metadata_reactor.provides(
'nginx/includes/php',
'nginx/includes',
)
def php(metadata):
def includes(metadata):
return {
'nginx': {
'includes': {