Merge branch '1.5.x' of https://github.com/puppetlabs/puppetlabs-apt into 1.5.x
[puppet-modules/puppetlabs-apt.git] / spec / acceptance / apt_key_provider_spec.rb
index 9becd2568419af3ac59f9c5e82ce78ba0dc2ae6f..0a314959577c953ed7b99a8a3519de4c2986ce57 100644 (file)
@@ -203,7 +203,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
         EOS
 
         apply_manifest(pp, :expect_failures => true) do |r|
-          expect(r.stderr).to match(/Host not found/)
+          expect(r.stderr).to match(/(Host not found|Couldn't resolve host)/)
         end
       end
     end