Commit b644a065 authored by Matt Wise's avatar Matt Wise
Browse files

Add optional content parameter to the freeradius::module resource.

parent 9f07dee6
......@@ -245,6 +245,12 @@ freeradius::module { 'buffered-sql':
}
```
```puppet
freeradius::module { 'buffered-sql':
content => template('some_template.erb)',
}
```
#### `freeradius::policy`
Install a policy from a flat file.
......
# Install FreeRADIUS modules
define freeradius::module (
$source,
$source = undef,
$content = undef,
$ensure = present,
) {
$fr_package = $::freeradius::params::fr_package
......@@ -14,6 +15,7 @@ define freeradius::module (
owner => 'root',
group => $fr_group,
source => $source,
content => $content,
require => [Package[$fr_package], Group[$fr_group]],
notify => Service[$fr_service],
}
......
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