updating file permissions for keys

This commit is contained in:
Matthew 2023-09-14 10:26:59 -05:00
parent 239ed01b8b
commit ce4188f385
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,7 @@ define bind::key (
ensure => present,
owner => $owner,
group => $group,
mode => '0640',
mode => '0400',
replace => $replace,
content => template('bind/key.conf.erb'),
}

View File

@ -6,5 +6,7 @@ class bind::keydir (
file { $keydir:
ensure => directory,
mode => '0755',
owner => 'root',
group => 'bind',
}
}