Commit e8f4bbcc authored by Ángel L. Mateo's avatar Ángel L. Mateo
Browse files

Fix freeradius::module::files

To correctly handle source and content parameters (issue 88)
parent 087d4b95
......@@ -19,7 +19,10 @@ define freeradius::module::files (
$fr_service = $::freeradius::params::fr_service
$manage_content = $content ? {
undef => template('freeradius/users.erb'),
undef => $source ? {
undef => template('freeradius/users.erb'),
default => undef,
},
default => $content,
}
......
Markdown is supported
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