aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-01-27 21:03:20 +0200
committerJuan Antonio Osorio Robles <jaosorior@redhat.com>2017-01-27 21:03:58 +0200
commit5ef4a34b2814f4adb83b92f33926f9f2f2916ab0 (patch)
tree63f81327708f2cc2ddfe6272190d99b683272533
parente47f6d7cbe3058bc32d6e18aa23c5f0c2007c53c (diff)
Fix MySQL service name parameter
This was wrongly set to service_name while it should have been server_service_name. Change-Id: Ia802857cc585bb9b057a02f6a13c16981baa5b76
-rw-r--r--manifests/certmonger/mysql.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/certmonger/mysql.pp b/manifests/certmonger/mysql.pp
index 9cb6b13..dd9b184 100644
--- a/manifests/certmonger/mysql.pp
+++ b/manifests/certmonger/mysql.pp
@@ -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 |>
}