Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
c6e9f837
Commit
c6e9f837
authored
Sep 01, 2014
by
Jonathan Gazeley
Browse files
Allow freeradius::site to accept 'content' as well as 'source'
parent
f7a55936
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/site.pp
View file @
c6e9f837
# 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'
],
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment