Skip to content
Snippets Groups Projects
Commit c183aa98 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Move module/service restart higher up the manifest

parent b3dc8354
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,11 @@ class freeradius ( ...@@ -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.') 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': file { 'radiusd.conf':
name => "${freeradius::fr_basepath}/radiusd.conf", name => "${freeradius::fr_basepath}/radiusd.conf",
mode => '0644', mode => '0644',
...@@ -119,11 +124,6 @@ class freeradius ( ...@@ -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 # Set up concat policy file, as there is only one global policy
# We also add standard header and footer # We also add standard header and footer
concat { "${freeradius::fr_basepath}/policy.conf": concat { "${freeradius::fr_basepath}/policy.conf":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment