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
c183aa98
Commit
c183aa98
authored
Jan 16, 2018
by
Jonathan Gazeley
Browse files
Move module/service restart higher up the manifest
parent
b3dc8354
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
c183aa98
...
...
@@ -34,6 +34,11 @@ class freeradius (
warning
(
'Use of the control_socket parameter in the freeradius class is deprecated. Please use the freeradius::control_socket class instead.'
)
}
# Always restart the service after every module operation
Freeradius
::
Module
{
notify
=>
Service
[
$freeradius::fr_service
]
}
file
{
'radiusd.conf'
:
name
=>
"
${freeradius::fr_basepath}
/radiusd.conf"
,
mode
=>
'0644'
,
...
...
@@ -119,11 +124,6 @@ class freeradius (
}
}
# Always restart the service after every module operation
Freeradius
::
Module
{
notify
=>
Service
[
$freeradius::fr_service
]
}
# Set up concat policy file, as there is only one global policy
# We also add standard header and footer
concat
{
"
${freeradius::fr_basepath}
/policy.conf"
:
...
...
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