Puppet Class: unbound::config::python

Defined in:
manifests/config/python.pp

Overview

Class: unbound::config::python



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# File 'manifests/config/python.pp', line 2

class unbound::config::python {
  assert_private()

  $python_script = $unbound::python_script

  if $python_script {
    file { "${unbound::config_sub_dir}/python.conf":
      ensure       => file,
      owner        => 'root',
      group        => $unbound::group,
      mode         => '0640',
      content      => template('unbound/python.erb'),
      validate_cmd => $unbound::validate_cmd,
    }
  }
}