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

Move module/service restart higher up the manifest

parent b3dc8354
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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":