From 210c76c4794f5491ddadba17352ebe0b973f5ce0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Kar=C3=A9kinian?= Date: Tue, 26 May 2020 14:10:47 +0200 Subject: [PATCH] Fix the name of the Let's Encrypt cert execute resource The resource in the notification was invalid, missing the type of resource (execute) Fixes #171 --- site-cookbooks/kosmos-dirsrv/resources/instance.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-cookbooks/kosmos-dirsrv/resources/instance.rb b/site-cookbooks/kosmos-dirsrv/resources/instance.rb index 89174e5..7faf1cd 100644 --- a/site-cookbooks/kosmos-dirsrv/resources/instance.rb +++ b/site-cookbooks/kosmos-dirsrv/resources/instance.rb @@ -157,7 +157,7 @@ done end nginx_certbot_site new_resource.hostname do - notifies :run, "letsencrypt cert for #{domain}", :delayed + notifies :run, "execute[letsencrypt cert for #{domain}]", :delayed end # Generate a Let's Encrypt cert (only if the nginx vhost exists and no cert