Project

General

Profile

Actions

Bug #18799

closed

nsupdate outputs an invalid command when dns_key is an empty string

Added by Ewoud Kohl van Wijngaarden about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Category:
DNS
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

From https://github.com/theforeman/puppet-foreman_proxy/issues/180

When using an empty string as dns_key the smart proxy outputs "nsupdate -k " which causes it to abort with an error. The following config should reproduce it.

---
:dns_key: "" 

The correct solution is to assume the user intended not to provide a key and skip the parameter.

Actions

Also available in: Atom PDF