summaryrefslogtreecommitdiff
path: root/spec/classes/munin_host_spec.rb
diff options
context:
space:
mode:
authorEwoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl>2013-07-02 19:22:35 +0200
committerEwoud Kohl van Wijngaarden <e.kohlvanwijngaarden@oxilion.nl>2013-07-02 19:24:27 +0200
commit42488b04b47ec3fd87f1d45ec3fa90b588545ca1 (patch)
treec6776e08e8e7a5398f84a0563d5a229dd8dc6171 /spec/classes/munin_host_spec.rb
parentaaf55c9ebfa0e34f63b2ca3c2b660e1d164026dd (diff)
Add basic testing infrastructure
Diffstat (limited to 'spec/classes/munin_host_spec.rb')
-rw-r--r--spec/classes/munin_host_spec.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/classes/munin_host_spec.rb b/spec/classes/munin_host_spec.rb
new file mode 100644
index 0000000..2216cc5
--- /dev/null
+++ b/spec/classes/munin_host_spec.rb
@@ -0,0 +1,14 @@
+require 'spec_helper'
+
+describe 'munin::host' do
+ let :facts do
+ {
+ :operatingsystem => 'CentOS',
+ :interfaces => 'lo,eth0',
+ }
+ end
+
+ it 'should compile' do
+ should include_class('munin::host')
+ end
+end