]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commitdiff
Fixed acceptance spec and add debian nodeset
authorDaniel Paulus <daniel@inuits.eu>
Mon, 5 May 2014 09:57:42 +0000 (11:57 +0200)
committerDaniel Paulus <daniel@inuits.eu>
Mon, 5 May 2014 09:57:42 +0000 (11:57 +0200)
spec/acceptance/apt_spec.rb
spec/acceptance/nodesets/debian-73-x64.yml [new file with mode: 0644]

index f89976e4000cbbf53dda2340c5159695b52c7dc0..13f1d50536c036100fef5d28f75295ff16b3da28 100644 (file)
@@ -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 (file)
index 0000000..d714345
--- /dev/null
@@ -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