Support proxy domain validation for Garage web domains

Also rename the data bag item
This commit is contained in:
2024-04-30 12:23:36 +02:00
parent 4cbda69a6b
commit 989185f951
6 changed files with 34 additions and 21 deletions

View File

@@ -18,7 +18,7 @@ action :create do
case new_resource.auth
when "gandi_dns"
gandi_api_credentials = data_bag_item('credentials', 'gandi_api_5apps')
gandi_api_credentials = data_bag_item('credentials', 'gandi_api')
hook_path = "/root/gandi_dns_certbot_hook.sh"
hook_auth_command = "#{hook_path} auth"