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
7f4a69b2
Commit
7f4a69b2
authored
Oct 29, 2014
by
Jonathan Gazeley
Browse files
Template FreeRADIUS user and group to work on other distros
parent
8afa66a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
manifests/params.pp
View file @
7f4a69b2
...
...
@@ -29,4 +29,10 @@ class freeradius::params {
default
=>
'radiusd'
,
}
# FreeRADIUS group
$fr_group
=
$::osfamily
?
{
'RedHat'
=>
'radiusd'
,
'Debian'
=>
'freerad'
,
default
=>
'radiusd'
,
}
}
templates/radiusd.conf.erb
View file @
7f4a69b2
...
...
@@ -168,8 +168,8 @@ pidfile = ${run_dir}/${name}.pid
# It will join all groups where "user" is a member. This can allow
# for some finer-grained access controls.
#
user =
radiusd
group =
radiusd
user =
<%=
@fr_user
%>
group =
<%=
@fr_group
%>
# panic_action: Command to execute if the server dies unexpectedly.
#
...
...
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