Update resource references for dependencies

The latest version of puppet now reports these as catalog failures so
this change removes the unnecessary references and the references
should be updated.

Closes-Bug: #1702964
Change-Id: Iebc547aa92f9f40e4a633c57d79e6c9cddb5dd28
This commit is contained in:
Emilien Macchi 2017-07-13 11:26:54 -07:00
parent 9c49a5c39a
commit 3ee568800d
2 changed files with 6 additions and 1 deletions

View File

@ -34,6 +34,6 @@ class tripleo::certmonger::ca::local(
creates => $ca_pem,
tries => 5,
try_sleep => 1,
require => Service['certmonger'],
}
Service['certmonger'] ~> Exec<| title == 'extract-and-trust-ca' |>
}

View File

@ -21,6 +21,11 @@ require 'spec_helper'
describe 'tripleo::certmonger::ca::local' do
shared_examples_for 'tripleo::certmonger::ca::local' do
let :pre_condition do
"include ::certmonger"
end
let :params do
{
:ca_pem => '/etc/pki/ca-trust/source/anchors/cm-local-ca.pem',