Add unit tests for puppetdb::master::config
This commit is contained in:
parent
1d631e2ef4
commit
e97f9e38d1
1 changed files with 19 additions and 0 deletions
19
spec/unit/classes/master/config_spec.rb
Normal file
19
spec/unit/classes/master/config_spec.rb
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
require 'spec_helper'
|
||||||
|
|
||||||
|
describe 'puppetdb::master::config', :type => :class do
|
||||||
|
|
||||||
|
let(:facts) do
|
||||||
|
{
|
||||||
|
:osfamily => 'Debian',
|
||||||
|
:operatingsystem => 'Debian',
|
||||||
|
:operatingsystemrelease => '6.0',
|
||||||
|
:kernel => 'Linux',
|
||||||
|
:concat_basedir => '/var/lib/puppet/concat',
|
||||||
|
}
|
||||||
|
end
|
||||||
|
|
||||||
|
context 'when using default values' do
|
||||||
|
it { should compile.with_all_deps }
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
Loading…
Reference in a new issue