diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-08-11 12:03:01 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-08-11 12:03:01 +0000 |
commit | d0d0c68fcadd1eb1b6e986270392f003726698b4 (patch) | |
tree | 15c813d41a9c31dd60e5530ed6a3f3ab90bd3ba9 /manifests/profile | |
parent | 233920ce677a990a8cb094c6c592a2a0fd08aaff (diff) | |
parent | 040411c2a4f8b1fbd1e4a5598e5ea0e6a4306e06 (diff) |
Merge "Modify resource dependencies of certmonger_user resources"
Diffstat (limited to 'manifests/profile')
-rw-r--r-- | manifests/profile/base/certmonger_user.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/profile/base/certmonger_user.pp b/manifests/profile/base/certmonger_user.pp index 231a1d0..2ac4b6e 100644 --- a/manifests/profile/base/certmonger_user.pp +++ b/manifests/profile/base/certmonger_user.pp @@ -80,13 +80,16 @@ class tripleo::profile::base::certmonger_user ( unless empty($haproxy_certificates_specs) { $reload_haproxy = ['systemctl reload haproxy'] Class['::tripleo::certmonger::ca::crl'] ~> Haproxy::Balancermember<||> - Class['::tripleo::certmonger::ca::crl'] ~> Class['::haproxy'] + if defined(Class['::haproxy']) { + Class['::tripleo::certmonger::ca::crl'] ~> Class['::haproxy'] + } } else { $reload_haproxy = [] } class { '::tripleo::certmonger::ca::crl' : reload_cmds => $reload_haproxy, } + Certmonger_certificate<||> -> Class['::tripleo::certmonger::ca::crl'] include ::tripleo::certmonger::ca::libvirt unless empty($apache_certificates_specs) { |