From f188d13f9dd67f237730262d3c1b5a5c45e5149e Mon Sep 17 00:00:00 2001 From: Tony Green Date: Sat, 18 Jun 2016 23:09:37 +1000 Subject: [PATCH] Updated conf.pp to control permissions and ownership of /etc/named.conf --- manifests/server/conf.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/manifests/server/conf.pp b/manifests/server/conf.pp index 14fcbc1fc..655e515a1 100644 --- a/manifests/server/conf.pp +++ b/manifests/server/conf.pp @@ -118,12 +118,17 @@ $keys = {}, $includes = [], $views = {}, + $binduser = $::bind::params::binduser, + $bindgroup = $::bind::params::bindgroup, ) { # Everything is inside a single template file { $title: notify => Class['::bind::service'], content => template('bind/named.conf.erb'), + owner => $binduser, + group => $bindgroup, + mode => '0644', } }