Commit c6e9f837 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Allow freeradius::site to accept 'content' as well as 'source'

parent f7a55936
# Install FreeRADIUS virtual servers (sites)
define freeradius::site ($source) {
define freeradius::site (
$source = undef,
$content = undef,
) {
file { "/etc/raddb/sites-enabled/${name}":
mode => '0640',
owner => 'root',
group => 'radiusd',
source => $source,
content => $content,
require => Package['freeradius'],
notify => Service['radiusd'],
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment