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
a2bbfb76
Commit
a2bbfb76
authored
Oct 30, 2014
by
Jonathan Gazeley
Browse files
Options
Downloads
Patches
Plain Diff
Fix path for config test
parent
e8eb83ee
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
manifests/init.pp
+2
-1
2 additions, 1 deletion
manifests/init.pp
with
2 additions
and
1 deletion
manifests/init.pp
+
2
−
1
View file @
a2bbfb76
...
@@ -211,10 +211,11 @@ class freeradius (
...
@@ -211,10 +211,11 @@ class freeradius (
# This exec tests the radius config and fails if it's bad
# This exec tests the radius config and fails if it's bad
# It isn't run every time puppet runs, but only when freeradius is to be restarted
# It isn't run every time puppet runs, but only when freeradius is to be restarted
exec
{
'radiusd-config-test'
:
exec
{
'radiusd-config-test'
:
command
=>
'
/usr/bin/sudo /usr/sbin/
radiusd -XC |
/bin/
grep \'Configuration appears to be OK.\' |
/usr/bin/
wc -l'
,
command
=>
'
sudo
radiusd -XC | grep \'Configuration appears to be OK.\' | wc -l'
,
returns
=>
0
,
returns
=>
0
,
refreshonly
=>
true
,
refreshonly
=>
true
,
logoutput
=>
on_failure
,
logoutput
=>
on_failure
,
path
=>
[
'/bin/'
,
'/sbin/'
,
'/usr/bin/'
,
'/usr/sbin/'
],
}
}
# Blank a couple of default files that will break our config. This is more effective than deleting them
# Blank a couple of default files that will break our config. This is more effective than deleting them
...
...
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