Puppet Class: freeradius::v3::conf::instantiate
- Defined in:
- manifests/v3/conf/instantiate.pp
Summary
Creates the 'instantiate' section of `radiusd.conf`Overview
in a file under ‘conf.d`.
This section is included by the directive ‘$INCLUDE conf.d/` in the radiusd.conf file.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
# File 'manifests/v3/conf/instantiate.pp', line 15
class freeradius::v3::conf::instantiate (
Optional[String] $content = undef
) {
include 'freeradius'
ensure_resource ('file', "${freeradius::confdir}/conf.d",
{
ensure => 'directory',
owner => 'root',
group => $freeradius::group,
mode => '0640',
purge => true,
before => Service['radiusd'],
})
file { "${freeradius::confdir}/conf.d/instantiate.inc":
ensure => 'file',
owner => 'root',
group => $freeradius::group,
mode => '0640',
require => File["${freeradius::confdir}/conf.d"],
content => template('freeradius/3/conf.d/instantiate.erb'),
notify => Service['radiusd']
}
}
|