Set the file value for zones
This commit is contained in:
parent
d189c62002
commit
7b53c4c29d
@ -11,9 +11,11 @@ define bind::zone (
|
|||||||
$_domain = $domain
|
$_domain = $domain
|
||||||
fi
|
fi
|
||||||
|
|
||||||
file { "${bind::params::confdir}/zones/${name}.conf":
|
$file = "${bind::confdir}/zones/${name}.zone"
|
||||||
|
|
||||||
|
file { "${bind::confdir}/zones/${name}.conf":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
owner => ${bind::params::bind_user},
|
owner => 'root',
|
||||||
group => ${bind::params::bind_group},
|
group => ${bind::params::bind_group},
|
||||||
mode => '0644',
|
mode => '0644',
|
||||||
content => template('bind/zone.conf.erb'),
|
content => template('bind/zone.conf.erb'),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user