Mostly, this implies adding all of the boilerplate needed to start using rspec-puppet with fixtures and whatnot.
18 lines
361 B
Ruby
18 lines
361 B
Ruby
# ex: syntax=ruby ts=2 sw=2 si et
|
|
require 'spec_helper'
|
|
|
|
describe 'bind' do
|
|
let(:facts) { { :concat_basedir => '/wtf' } }
|
|
|
|
context 'on Debian-derived systems' do
|
|
let(:facts) { super().merge({ :osfamily => 'Debian' }) }
|
|
|
|
it { should contain_package('bind').with({
|
|
'ensure' => 'latest',
|
|
'name' => 'bind9'
|
|
})
|
|
}
|
|
end
|
|
|
|
end
|