diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-08-04 11:04:00 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-08-04 11:04:00 +0000 |
commit | f41922902eb2649ba6eee0c43fb32d623f76c7ec (patch) | |
tree | 83f976c66f4c7ec3897cc519cd413a0e39742d94 /manifests/certmonger/haproxy.pp | |
parent | 1b82fe40fe53572703854fcdbeda72cdf148e9c1 (diff) | |
parent | a9695bd47038776ee4e38c584b593551c1f64250 (diff) |
Merge "Ensure directory exists for certificates for haproxy"
Diffstat (limited to 'manifests/certmonger/haproxy.pp')
-rw-r--r-- | manifests/certmonger/haproxy.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/certmonger/haproxy.pp b/manifests/certmonger/haproxy.pp index a5d1bf8..3def337 100644 --- a/manifests/certmonger/haproxy.pp +++ b/manifests/certmonger/haproxy.pp @@ -84,6 +84,7 @@ define tripleo::certmonger::haproxy ( postsave_cmd => $postsave_cmd, principal => $principal, wait => true, + tag => 'haproxy-cert', require => Class['::certmonger'], } concat { $service_pem : @@ -91,12 +92,14 @@ define tripleo::certmonger::haproxy ( mode => '0640', owner => 'haproxy', group => 'haproxy', + tag => 'haproxy-cert', require => Package[$::haproxy::params::package_name], } concat::fragment { "${title}-cert-fragment": target => $service_pem, source => $service_certificate, order => '01', + tag => 'haproxy-cert', require => Certmonger_certificate["${title}-cert"], } @@ -106,6 +109,7 @@ define tripleo::certmonger::haproxy ( target => $service_pem, source => $ca_pem, order => '10', + tag => 'haproxy-cert', require => Class['tripleo::certmonger::ca::local'], } } @@ -114,6 +118,7 @@ define tripleo::certmonger::haproxy ( target => $service_pem, source => $service_key, order => 20, + tag => 'haproxy-cert', require => Certmonger_certificate["${title}-cert"], } } |