]> git.openstreetmap.org Git - chef.git/commitdiff
Update dnscontrol auth to v3.16+ syntax
authorGrant Slater <git@firefishy.com>
Sun, 14 Aug 2022 22:36:35 +0000 (01:36 +0300)
committerGrant Slater <git@firefishy.com>
Sun, 14 Aug 2022 22:36:38 +0000 (01:36 +0300)
https://stackexchange.github.io/dnscontrol/creds-json#missing

cookbooks/dns/templates/default/creds.json.erb

index 980c0fb3829c2089b8f130ed2adef71aa1fe58cb..0317436736c3b5b565b9b1b6b8cf6ac04ba22255 100644 (file)
@@ -1,9 +1,11 @@
 {
   "gandi_v5": {
+    "TYPE": "GANDI_V5",
     "apikey": "<%= @passwords["gandi"] %>",
     "sharing_id": "7028b616-ba65-11e7-8343-00163ec31f40"
   },
   "cloudflare": {
+    "TYPE": "CLOUDFLAREAPI",
     "accountid": "049c95aba02c95fc1e78a9d255282e0f",
     "accountname": "OpenStreetMap",
     "apitoken": "<%= @passwords["cloudflare"] %>"