aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorEmilien Macchi <emilien@redhat.com>2017-07-13 11:26:54 -0700
committerEmilien Macchi <emilien@redhat.com>2017-07-15 22:21:18 -0700
commit3ee568800d9295bc2a4f843bd3ce74b109613c6b (patch)
tree780d0fce6a93fe4ecbccc03c12b2bc6f178285da /spec
parent9c49a5c39a0705a5222985700131cdc19be0cfcc (diff)
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
Diffstat (limited to 'spec')
-rw-r--r--spec/classes/tripleo_certmonger_ca_local_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/classes/tripleo_certmonger_ca_local_spec.rb b/spec/classes/tripleo_certmonger_ca_local_spec.rb
index 7ee9383..b6ecebc 100644
--- a/spec/classes/tripleo_certmonger_ca_local_spec.rb
+++ b/spec/classes/tripleo_certmonger_ca_local_spec.rb
@@ -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',