From: Daniel Paulus Date: Mon, 5 May 2014 09:57:42 +0000 (+0200) Subject: Fixed acceptance spec and add debian nodeset X-Git-Tag: 1.5.0~9^2~2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=15630989dae13d4491fc309231e55d70b165795e;p=puppet-modules%2Fpuppetlabs-apt.git Fixed acceptance spec and add debian nodeset --- diff --git a/spec/acceptance/apt_spec.rb b/spec/acceptance/apt_spec.rb index f89976e..13f1d50 100644 --- a/spec/acceptance/apt_spec.rb +++ b/spec/acceptance/apt_spec.rb @@ -217,10 +217,7 @@ describe 'apt class', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily') end describe file('/etc/apt/preferences') do - it { should be_file } - it 'is managed by Puppet' do - shell("grep 'Explanation' /etc/apt/preferences", {:acceptable_exit_codes => 0}) - end + it { should_not be_file } end end end diff --git a/spec/acceptance/nodesets/debian-73-x64.yml b/spec/acceptance/nodesets/debian-73-x64.yml new file mode 100644 index 0000000..d714345 --- /dev/null +++ b/spec/acceptance/nodesets/debian-73-x64.yml @@ -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 \ No newline at end of file