Commit 54a11af0 authored by intrigeri's avatar intrigeri
Browse files

Adapt tails::tester to run on Jessie.

1. Handle upgrade from Wheezy by dropping obsolete APT pinning.
2. Upgrade list of dependencies for Jessie.
parent 32319964
......@@ -8,123 +8,39 @@ class tails::tester (
### Sanity checks
if $::lsbdistcodename != 'wheezy' {
fail('The tails::tester module only supports Debian Wheezy.')
if $::lsbdistcodename != 'jessie' {
fail('The tails::tester module only supports Debian Jessie.')
}
### Resources
class { '::libvirt::host':
libvirt_service_name => 'libvirtd', # wheezy-backports
qemu_security_driver => 'none',
}
apt::preferences_snippet { 'cucumber':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'ipxe-qemu':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'libspice-server1':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'libusb':
package => 'libusb-1.0-0',
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'libvirt0':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'libvirt-bin':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'libvirt-dev':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'ovmf':
pin => 'release o=Debian,n=jessie',
priority => 991;
}
apt::preferences_snippet { 'python-libvirt':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'qemu':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'qemu-kvm':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'qemu-system-x86':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'qemu-utils':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'ruby-gherkin':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'ruby-multi-json':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'ruby-packetfu':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'ruby-rjb':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
}
apt::preferences_snippet { 'seabios':
pin => 'release o=Debian Backports,a=wheezy-backports',
priority => 991;
apt::preferences_snippet {
[ 'cucumber', 'ipxe-qemu', 'libspice-server1', 'libusb', 'libvirt0',
'libvirt-bin', 'libvirt-dev', 'ovmf', 'python-libvirt', 'qemu',
'qemu-kvm', 'qemu-system-x86', 'qemu-utils', 'ruby-gherkin',
'ruby-multi-json', 'ruby-packetfu', 'ruby-rjb', 'seabios'
]:
ensure => absent,
}
$tester_packages = [
'cucumber',
'devscripts',
'dnsmasq-base',
'ffmpeg',
'gawk',
'git',
'libavcodec-extra-53',
'i18nspector',
'libav-tools',
'libcap2-bin',
'libsikuli-script-java',
'libvirt0',
'libvirt-bin',
'libvirt-daemon',
'libvirt-clients',
'libvirt-daemon-system',
'libvirt-dev',
'libvirt-ruby',
'libvpx1',
'libxslt1-dev',
'ntp',
......@@ -137,6 +53,7 @@ class tails::tester (
'radvd',
'ruby-guestfs',
'ruby-json',
'ruby-libvirt',
'ruby-net-irc',
'ruby-packetfu',
'ruby-rjb',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment