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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Projets publics
puppet-freeradius
Commits
0a2b45ba
Commit
0a2b45ba
authored
10 years ago
by
Jonathan Gazeley
Browse files
Options
Downloads
Patches
Plain Diff
Manage ensure present/absent of status server with purge, like all other sites
parent
6aa25967
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-4
2 additions, 4 deletions
README.md
manifests/status_server.pp
+1
-5
1 addition, 5 deletions
manifests/status_server.pp
with
3 additions
and
9 deletions
README.md
+
2
−
4
View file @
0a2b45ba
...
...
@@ -105,7 +105,8 @@ class { 'freeradius':
#### `freeradius::status_server`
The
`freeradius::status_server`
class installs support for the
[
status server
](
http://wiki.freeradius.org/config/Status
)
.
The
`freeradius::status_server`
class enabled the
[
status server
](
http://wiki.freeradius.org/config/Status
)
.
To remove the status server, do not include this class and the server will be removed.
##### `secret`
The shared secret for the status server. Required.
...
...
@@ -116,9 +117,6 @@ The port to listen for status requests on. Default: `18121`
##### `listen`
The address to listen on. Defaults to listen on all addresses but you could set this to
`$::ipaddress`
or
`127.0.0.1`
. Default:
`*`
##### `enable`
Whether to enable the status server. Default:
`true`
```
puppet
# Enable status server
class
{
'freeradius::status_server'
:
...
...
This diff is collapsed.
Click to expand it.
manifests/status_server.pp
+
1
−
5
View file @
0a2b45ba
...
...
@@ -3,12 +3,8 @@ class freeradius::status_server (
$secret
,
$port
=
'18121'
,
$listen
=
'*'
,
$enable
=
true
,
)
{
freeradius::site
{
'status'
:
content
=>
$enable
?
{
true
=>
template
(
'freeradius/sites-enabled/status.erb'
),
default
=>
'# Status server disabled'
,
}
content
=>
template
(
'freeradius/sites-enabled/status.erb'
),
}
}
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