Commit 3447db06 authored by Jonathan's avatar Jonathan
Browse files

Merge pull request #15 from diranged/fix_service_name

Rename the Service[radiusd] resource to Service[$fr_service].
parents b3a530b8 54ab1a35
...@@ -116,7 +116,7 @@ class freeradius ( ...@@ -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 # 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. # won't get restarted, and the puppet run will fail.
service { 'radiusd': service { $freeradius::fr_service:
ensure => running, ensure => running,
name => $freeradius::fr_service, name => $freeradius::fr_service,
require => [Exec['radiusd-config-test'], File['radiusd.conf'], User[$freeradius::fr_user], Package[$freeradius::fr_package],], require => [Exec['radiusd-config-test'], File['radiusd.conf'], User[$freeradius::fr_user], Package[$freeradius::fr_package],],
......
Supports Markdown
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