Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nchappell/manage user group on named conf #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions manifests/server/conf.pp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
# Array of forwarders IP addresses. Default: empty
# $directory:
# Base directory for the BIND server. Default: '/var/named'
# $binduser:
# The user that will be set as the owner of the config file created
# $bindgroup:
# The group that will be set as the group of the config file created
# $hostname:
# Hostname returned for hostname.bind TXT in CHAOS. Set to 'none' to disable.
# Default: undef, bind internal default
Expand Down Expand Up @@ -87,6 +91,8 @@
$listen_on_v6_addr = [ '::1' ],
$forwarders = [],
$directory = '/var/named',
$binduser = $::bind::params::binduser,
$bindgroup = $::bind::params::bindgroup,
$managed_keys_directory = undef,
$hostname = undef,
$server_id = undef,
Expand All @@ -111,6 +117,8 @@

# Everything is inside a single template
file { $title:
owner => $binduser,
group => $bindgroup,
notify => Class['bind::service'],
content => template('bind/named.conf.erb'),
}
Expand Down