aboutsummaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-20 10:40:12 +0000
committerGerrit Code Review <review@openstack.org>2017-01-20 10:40:12 +0000
commit662947cd5659631d38b393eea916b6b391c641e8 (patch)
tree62e99847aa1d0816d806aa90e1eda2ca37528ef2 /manifests
parentb8e4fbe838fea2726fb2373e159e1879ddfabed8 (diff)
parentcf63869b1c7084c2d74ecd47812e8f5c7e26b52b (diff)
Merge "Remove unused variable in certmonger/mysql manifest"
Diffstat (limited to 'manifests')
-rw-r--r--manifests/certmonger/mysql.pp10
1 files changed, 0 insertions, 10 deletions
diff --git a/manifests/certmonger/mysql.pp b/manifests/certmonger/mysql.pp
index 62aff9a..9cb6b13 100644
--- a/manifests/certmonger/mysql.pp
+++ b/manifests/certmonger/mysql.pp
@@ -31,11 +31,6 @@
# (Optional) The CA that certmonger will use to generate the certificates.
# Defaults to hiera('certmonger_ca', 'local').
#
-# [*mysql_network*]
-# (Optional) The network name where the mysql endpoint is listening on.
-# This is set by t-h-t.
-# Defaults to hiera('mysql_network', undef)
-#
# [*principal*]
# (Optional) The haproxy service principal that is set for MySQL in kerberos.
# Defaults to undef
@@ -45,16 +40,11 @@ class tripleo::certmonger::mysql (
$service_certificate,
$service_key,
$certmonger_ca = hiera('certmonger_ca', 'local'),
- $mysql_network = hiera('mysql_network', undef),
$principal = undef,
) {
include ::certmonger
include ::mysql::params
- if !$mysql_network {
- fail('mysql_network is not set in the hieradata.')
- }
-
$postsave_cmd = "systemctl reload ${::mysql::params::service_name}"
certmonger_certificate { 'mysql' :
ensure => 'present',