Commit 6ffda0a5 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Revert "Tweak require/notify so the service gets restarted at the right time"

This reverts commit e4bc7ec1.
parent 2fe826e5
......@@ -19,10 +19,8 @@ define freeradius::module (
if ($preserve) {
# Symlink to mods-available for stock modules
file { "${fr_modulepath}/${name}":
ensure => $ensure_link,
target => "../mods-available/${name}",
notify => Service[$fr_service],
require => File["${fr_basepath}/mods-available/${name}"],
ensure => $ensure_link,
target => "../mods-available/${name}",
}
} else {
# Deploy actual module to mods-available, and link it to mods-enabled
......@@ -34,6 +32,7 @@ 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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment