From 15630989dae13d4491fc309231e55d70b165795e Mon Sep 17 00:00:00 2001 From: Daniel Paulus Date: Mon, 5 May 2014 11:57:42 +0200 Subject: [PATCH] Fixed acceptance spec and add debian nodeset --- spec/acceptance/apt_spec.rb | 5 +---- spec/acceptance/nodesets/debian-73-x64.yml | 11 +++++++++++ 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 spec/acceptance/nodesets/debian-73-x64.yml 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 -- 2.45.2