Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
puppet-freeradius
Commits
a2bbfb76
Commit
a2bbfb76
authored
Oct 30, 2014
by
Jonathan Gazeley
Browse files
Fix path for config test
parent
e8eb83ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
a2bbfb76
...
...
@@ -211,10 +211,11 @@ class freeradius (
# 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
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
,
refreshonly
=>
true
,
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
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment