Just one conditional
This commit is contained in:
+2
-1
@@ -126,7 +126,8 @@ define bind::zone (
|
||||
if $dnssec {
|
||||
exec { "dnssec-keygen-${name}":
|
||||
command => "/usr/local/bin/dnssec-init '${cachedir}' '${name}'\
|
||||
'${_domain}' '${key_directory}' '${random_device}' '${nsec3_salt}'",
|
||||
'${_domain}' '${key_directory}' '${random_device}' '${nsec3_salt}'\
|
||||
'${zone_file}'",
|
||||
cwd => $cachedir,
|
||||
user => $bind_user,
|
||||
creates => "${cachedir}/${name}/${zone_file}.signed",
|
||||
|
||||
Reference in New Issue
Block a user