Files
puppet-pacemaker/spec/classes/pacemaker_spec.rb
Dmitry Ilyin 4d2e554f68 Merge with fuel-infra/puppet-pacemaker
* Import all providers, specs and tests to this module
* Use corosync module to actually install paceamker

Fuel-CI: disable
Change-Id: I9a16ad1453b694aa0a3e78d079f9c57365a5fcf1
2016-05-25 11:22:22 +02:00

27 lines
704 B
Ruby

require 'spec_helper'
describe 'pacemaker::new', type: :class do
on_supported_os.each do |os, facts|
context "on #{os}" do
let(:facts) { facts }
context 'with default parameters' do
it { is_expected.to compile.with_all_deps }
it { is_expected.to contain_class('pacemaker::new::params') }
it { is_expected.to contain_class('pacemaker::new') }
it { is_expected.to contain_class('pacemaker::new::firewall') }
it { is_expected.to contain_class('pacemaker::new::install') }
it { is_expected.to contain_class('pacemaker::new::setup') }
it { is_expected.to contain_class('pacemaker::new::service') }
end
end
end
end