Skip to content
Snippets Groups Projects
Commit 54ab1a35 authored by Matt Wise's avatar Matt Wise
Browse files

Rename the Service[radiusd] resource to Service[$fr_service].

This fixes unit tests on non-CentOS hosts where the service
name is freeradius instead of radiusd.
parent b3a530b8
No related branches found
No related tags found
No related merge requests found
......@@ -116,7 +116,7 @@ class freeradius (
# radiusd always tests its config before restarting the service, to avoid outage. If the config is not valid, the service
# won't get restarted, and the puppet run will fail.
service { 'radiusd':
service { $freeradius::fr_service:
ensure => running,
name => $freeradius::fr_service,
require => [Exec['radiusd-config-test'], File['radiusd.conf'], User[$freeradius::fr_user], Package[$freeradius::fr_package],],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment