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
e4bc7ec1
Commit
e4bc7ec1
authored
Nov 15, 2017
by
Jonathan Gazeley
Browse files
Tweak require/notify so the service gets restarted at the right time
parent
490caaa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/module.pp
View file @
e4bc7ec1
...
...
@@ -19,8 +19,10 @@ define freeradius::module (
if
(
$preserve
)
{
# Symlink to mods-available for stock modules
file
{
"
${fr_modulepath}
/
${name}
"
:
ensure
=>
$ensure_link
,
target
=>
"../mods-available/
${name}
"
,
ensure
=>
$ensure_link
,
target
=>
"../mods-available/
${name}
"
,
notify
=>
Service
[
$fr_service
],
require
=>
File
[
"
${fr_basepath}
/mods-available/
${name}
"
],
}
}
else
{
# Deploy actual module to mods-available, and link it to mods-enabled
...
...
@@ -32,7 +34,6 @@ define freeradius::module (
source
=>
$source
,
content
=>
$content
,
require
=>
[
Package
[
$fr_package
],
Group
[
$fr_group
]],
notify
=>
Service
[
$fr_service
],
}
file
{
"
${fr_modulepath}
/
${name}
"
:
ensure
=>
$ensure_link
,
...
...
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