Commit c183aa98 authored by Jonathan Gazeley's avatar Jonathan Gazeley
Browse files

Move module/service restart higher up the manifest

parent b3dc8354
......@@ -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":
......
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