Fixed acceptance spec and add debian nodeset

This commit is contained in:
Daniel Paulus 2014-05-05 11:57:42 +02:00
parent c327d3d7bf
commit 15630989da
2 changed files with 12 additions and 4 deletions

View file

@ -217,10 +217,7 @@ describe 'apt class', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')
end end
describe file('/etc/apt/preferences') do describe file('/etc/apt/preferences') do
it { should be_file } it { should_not be_file }
it 'is managed by Puppet' do
shell("grep 'Explanation' /etc/apt/preferences", {:acceptable_exit_codes => 0})
end
end end
end end
end end

View file

@ -0,0 +1,11 @@
HOSTS:
debian-73-x64:
roles:
- master
platform: debian-7-amd64
box : debian-73-x64-virtualbox-nocm
box_url : http://puppet-vagrant-boxes.puppetlabs.com/debian-73-x64-virtualbox-nocm.box
hypervisor : vagrant
CONFIG:
log_level: debug
type: git