[icinga-checkins] icinga.org: puppet-icingaweb2/master: spec: Fixing roles spec

git at icinga.org git at icinga.org
Tue Jan 3 16:32:09 CET 2017


Module: puppet-icingaweb2
Branch: master
Commit: 60259f0fc3d2f40588009d955ce9250f7f7e8244
URL:    https://git.icinga.org/?p=puppet-icingaweb2.git;a=commit;h=60259f0fc3d2f40588009d955ce9250f7f7e8244

Author: Markus Frosch <markus.frosch at icinga.com>
Date:   Tue Jan  3 16:21:49 2017 +0100

spec: Fixing roles spec

---

 spec/defines/icingaweb2__config__roles_spec.rb |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/spec/defines/icingaweb2__config__roles_spec.rb b/spec/defines/icingaweb2__config__roles_spec.rb
index 354ccde..6bff5c5 100644
--- a/spec/defines/icingaweb2__config__roles_spec.rb
+++ b/spec/defines/icingaweb2__config__roles_spec.rb
@@ -1,6 +1,10 @@
 require 'spec_helper'
 
 describe 'icingaweb2::config::roles' do
+  let(:facts) { debian_facts }
+  let(:pre_condition) do
+    'include ::icingaweb2'
+  end
 
   context 'with no set values' do
 



More information about the icinga-checkins mailing list