Set enable on agent service
This sets the enable flag on the agent service which will autostart the agent (if set) on reboot. Also this removes a non-sensical parameter on a file resource that appears to be a typo. Change-Id: I5b49a276e89b88aefc9bf6ec0c22e6e18fa1cc26
This commit is contained in:
parent
0338017c52
commit
470edbc02b
|
@ -255,7 +255,6 @@ class monasca::agent(
|
|||
|
||||
$log_dir = "${::monasca::log_dir}/agent"
|
||||
file { "${agent_dir}/supervisor.conf":
|
||||
ensure => $ensure,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
|
@ -271,6 +270,7 @@ class monasca::agent(
|
|||
|
||||
service { 'monasca-agent':
|
||||
ensure => $ensure,
|
||||
enable => $enabled,
|
||||
name => $::monasca::params::agent_service,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue