Browse Source

Travis 9

pull/3286/head
Gerardo 5 years ago
committed by GitHub
parent
commit
d14875fec8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      dnsapi/dns_aruba.sh

10
dnsapi/dns_aruba.sh

@ -105,12 +105,14 @@ _initAuth() {
dns_aruba_add() { dns_aruba_add() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
_debug _domain "$_domain"
_sub_domain="_acme-challenge"
if ! _initAuth; then if ! _initAuth; then
return 1 return 1
fi fi
_debug _domain "$_domain"
_sub_domain="_acme-challenge"
_debug "Check if _acme-challenge record exists in " "$_domain" _debug "Check if _acme-challenge record exists in " "$_domain"
if ! _extract_record_id "$_sub_domain.$_domain."; then if ! _extract_record_id "$_sub_domain.$_domain."; then
_method="POST" _method="POST"
@ -136,7 +138,7 @@ dns_aruba_add() {
#fulldomain #fulldomain
dns_aruba_rm() { dns_aruba_rm() {
fulldomain=$1
#fulldomain=$1
txtvalue=$2 txtvalue=$2
if ! _initAuth; then if ! _initAuth; then

Loading…
Cancel
Save