Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
puppet-freeradius
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projets publics
puppet-freeradius
Commits
0e7286b0
Commit
0e7286b0
authored
Mar 2, 2016
by
Jonathan Gazeley
Browse files
Options
Downloads
Patches
Plain Diff
Make preservation of modules optional
parent
f6b20ef4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-0
3 additions, 0 deletions
README.md
manifests/init.pp
+34
-31
34 additions, 31 deletions
manifests/init.pp
with
37 additions
and
31 deletions
README.md
+
3
−
0
View file @
0e7286b0
...
...
@@ -87,6 +87,9 @@ Install support for MySQL. Note this only installs the package. Use `freeradius:
##### `perl_support`
Install support for Perl. Default:
`false`
##### `preserve_mods`
Leave recommended stock modules enabled. Default:
`true`
##### `utils_support`
Install FreeRADIUS utils. Default:
`false`
...
...
This diff is collapsed.
Click to expand it.
manifests/init.pp
+
34
−
31
View file @
0e7286b0
...
...
@@ -10,6 +10,7 @@ class freeradius (
$wpa_supplicant
=
false
,
$winbind_support
=
false
,
$syslog
=
false
,
$preserve_mods
=
true
,
)
inherits
freeradius::params
{
if
(
$freeradius::fr_version
!=
3
)
{
...
...
@@ -75,6 +76,7 @@ class freeradius (
}
# Preserve some stock modules
if
(
$preserve_mods
)
{
freeradius::module
{
[
'always'
,
'cache_eap'
,
...
...
@@ -107,6 +109,7 @@ class freeradius (
]:
preserve
=>
true
,
}
}
# Set up concat policy file, as there is only one global policy
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment