Compatibility with puppetlabs/dhcp
This commit is contained in:
parent
a62f9dd107
commit
d8f18bc4f8
@ -2,7 +2,7 @@ define bind::key (
|
|||||||
$algorithm = 'hmac-sha256',
|
$algorithm = 'hmac-sha256',
|
||||||
$secret,
|
$secret,
|
||||||
) {
|
) {
|
||||||
file { "${bind::confdir}/keys/${name}.conf":
|
file { "${bind::confdir}/keys/${name}":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
owner => 'root',
|
owner => 'root',
|
||||||
group => $bind::params::bind_group,
|
group => $bind::params::bind_group,
|
||||||
@ -13,6 +13,6 @@ define bind::key (
|
|||||||
concat::fragment { "bind-key-${name}":
|
concat::fragment { "bind-key-${name}":
|
||||||
order => '10',
|
order => '10',
|
||||||
target => "${bind::confdir}/keys.conf",
|
target => "${bind::confdir}/keys.conf",
|
||||||
content => "include \"${bind::confdir}/keys/${name}.conf\";\n",
|
content => "include \"${bind::confdir}/keys/${name}\";\n",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user