updating file permissions for keys
This commit is contained in:
parent
239ed01b8b
commit
ce4188f385
@ -35,7 +35,7 @@ define bind::key (
|
|||||||
ensure => present,
|
ensure => present,
|
||||||
owner => $owner,
|
owner => $owner,
|
||||||
group => $group,
|
group => $group,
|
||||||
mode => '0640',
|
mode => '0400',
|
||||||
replace => $replace,
|
replace => $replace,
|
||||||
content => template('bind/key.conf.erb'),
|
content => template('bind/key.conf.erb'),
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,5 +6,7 @@ class bind::keydir (
|
|||||||
file { $keydir:
|
file { $keydir:
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
mode => '0755',
|
mode => '0755',
|
||||||
|
owner => 'root',
|
||||||
|
group => 'bind',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user