Fix MySQL service name parameter

This was wrongly set to service_name while it should have been
server_service_name.

Change-Id: Ia802857cc585bb9b057a02f6a13c16981baa5b76
This commit is contained in:
Juan Antonio Osorio Robles 2017-01-27 21:03:20 +02:00
parent e47f6d7cbe
commit 5ef4a34b28

View File

@ -45,7 +45,7 @@ class tripleo::certmonger::mysql (
include ::certmonger
include ::mysql::params
$postsave_cmd = "systemctl reload ${::mysql::params::service_name}"
$postsave_cmd = "systemctl reload ${::mysql::params::server_service_name}"
certmonger_certificate { 'mysql' :
ensure => 'present',
certfile => $service_certificate,
@ -69,6 +69,6 @@ class tripleo::certmonger::mysql (
require => Certmonger_certificate['mysql'],
}
File[$service_certificate] ~> Service<| title == $::mysql::params::service_name |>
File[$service_key] ~> Service<| title == $::mysql::params::service_name |>
File[$service_certificate] ~> Service<| title == $::mysql::params::server_service_name |>
File[$service_key] ~> Service<| title == $::mysql::params::server_service_name |>
}