commit
622a05ab88
4 changed files with 42 additions and 12 deletions
29
CHANGELOG.md
29
CHANGELOG.md
|
@ -1,3 +1,32 @@
|
||||||
|
##2014-08-20 - Supported Release 1.6.0
|
||||||
|
###Summary
|
||||||
|
|
||||||
|
####Features
|
||||||
|
- Allow URL or domain name for key_server parameter
|
||||||
|
- Allow custom comment for sources list
|
||||||
|
- Enable auto-update for Debian squeeze LTS
|
||||||
|
- Add facts showing available updates
|
||||||
|
- Test refactoring
|
||||||
|
|
||||||
|
####Bugfixes
|
||||||
|
- Allow dashes in URL or domain for key_server parameter
|
||||||
|
|
||||||
|
##2014-08-13 - Supported Release 1.5.3
|
||||||
|
###Summary
|
||||||
|
|
||||||
|
This is a bugfix releases. It addresses a bad regex, failures with unicode
|
||||||
|
characters, and issues with the $proxy_host handling in apt::ppa.
|
||||||
|
|
||||||
|
####Features
|
||||||
|
- Synced files from Modulesync
|
||||||
|
|
||||||
|
####Bugfixes
|
||||||
|
- Fix regex to follow APT requirements in apt::pin
|
||||||
|
- Fix for unicode characters
|
||||||
|
- Fix inconsistent $proxy_host handling in apt and apt::ppa
|
||||||
|
- Fix typo in README
|
||||||
|
- Fix broken acceptance tests
|
||||||
|
|
||||||
##2014-07-15 - Supported Release 1.5.2
|
##2014-07-15 - Supported Release 1.5.2
|
||||||
###Summary
|
###Summary
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "puppetlabs-apt",
|
"name": "puppetlabs-apt",
|
||||||
"version": "1.5.2",
|
"version": "1.6.0",
|
||||||
"author": "Puppet Labs",
|
"author": "Puppet Labs",
|
||||||
"summary": "Puppet Labs Apt Module",
|
"summary": "Puppet Labs Apt Module",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
|
|
@ -36,7 +36,7 @@ describe 'apt_key' do
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -74,7 +74,7 @@ describe 'apt_key' do
|
||||||
|
|
||||||
# Time to remove it using Puppet
|
# Time to remove it using Puppet
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
|
|
||||||
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}",
|
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}",
|
||||||
:acceptable_exit_codes => [1])
|
:acceptable_exit_codes => [1])
|
||||||
|
@ -153,7 +153,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -187,7 +187,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -203,7 +203,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -253,7 +253,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -302,7 +302,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
shell("apt-key list | grep #{CENTOS_GPG_KEY_ID}")
|
shell("apt-key list | grep #{CENTOS_GPG_KEY_ID}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -346,7 +346,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -399,7 +399,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -456,7 +456,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
apply_manifest(pp, :catch_failures => true)
|
apply_manifest(pp, :catch_failures => true)
|
||||||
expect(apply_manifest(pp, :catch_failures => true).exit_code).to be_zero
|
apply_manifest(pp, :catch_failures => true)
|
||||||
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
shell("apt-key list | grep #{PUPPETLABS_GPG_KEY_ID}")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -469,6 +469,7 @@ ugVIB2pi+8u84f+an4Hml4xlyijgYu05pqNvnLRyJDLd61hviLC8GYU=
|
||||||
}
|
}
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
|
shell("apt-key del #{PUPPETLABS_GPG_KEY_ID}", :acceptable_exit_codes => [0,1,2])
|
||||||
apply_manifest(pp, :expect_failures => true) do |r|
|
apply_manifest(pp, :expect_failures => true) do |r|
|
||||||
expect(r.stderr).to match(/--keyserver-options this is totally/)
|
expect(r.stderr).to match(/--keyserver-options this is totally/)
|
||||||
end
|
end
|
||||||
|
|
|
@ -27,7 +27,7 @@ RSpec.configure do |c|
|
||||||
# Install module and dependencies
|
# Install module and dependencies
|
||||||
puppet_module_install(:source => proj_root, :module_name => 'apt')
|
puppet_module_install(:source => proj_root, :module_name => 'apt')
|
||||||
hosts.each do |host|
|
hosts.each do |host|
|
||||||
shell('/bin/touch /etc/puppet/hiera.yaml')
|
shell("/bin/touch #{default['puppetpath']}/hiera.yaml")
|
||||||
shell('puppet module install puppetlabs-stdlib --version 2.2.1', { :acceptable_exit_codes => [0,1] })
|
shell('puppet module install puppetlabs-stdlib --version 2.2.1', { :acceptable_exit_codes => [0,1] })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue