fuel-library/deployment/puppet/apt/spec/classes/debian_testing_spec.rb
Bogdan Dobrelya 0e0c6853fb Sync apt module from puppetlabs
v1.8.0 47c6f338eda98ed849531d92b63c5e33103f76e4
source https://github.com/puppetlabs/puppetlabs-apt

Related blueprint merge-openstack-puppet-modules
Related-bug: #1443800

Change-Id: I5f86751ba9b16fdedd209677bb67e23cdb85b44f
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-04-14 11:49:06 +02:00

16 lines
623 B
Ruby

require 'spec_helper'
describe 'apt::debian::testing', :type => :class do
let(:facts) { { :lsbdistid => 'Debian', :osfamily => 'Debian' } }
it {
should contain_apt__source("debian_testing").with({
"location" => "http://debian.mirror.iweb.ca/debian/",
"release" => "testing",
"repos" => "main contrib non-free",
"required_packages" => "debian-keyring debian-archive-keyring",
"key" => "A1BD8E9D78F7FE5C3E65D8AF8B48AD6246925553",
"key_server" => "subkeys.pgp.net",
"pin" => "-10"
})
}
end