Make puppet work with Ubuntu Vivid
The repo for Vivid on apt.puppetlabs.com only contains a 'PC1' repo instead of 'main', also only binary packages and no source. So skip installing this repo completely for now until we find out which packages are really needed from it. Package emacs23-nox is replaced by emacs24-nox. Change-Id: I23e60f09402c716e2d4a7bbf2d069aa9b975e9d3
This commit is contained in:
parent
81a2ee3de2
commit
b46a384544
@ -12,7 +12,14 @@ class openstack_project::params {
|
||||
}
|
||||
'Debian': {
|
||||
$packages = ['puppet', 'wget']
|
||||
$user_packages = ['byobu', 'emacs23-nox', 'vim-nox']
|
||||
case $::operatingsystemrelease {
|
||||
'15.04': {
|
||||
$user_packages = ['byobu', 'emacs24-nox', 'vim-nox']
|
||||
}
|
||||
default: {
|
||||
$user_packages = ['byobu', 'emacs23-nox', 'vim-nox']
|
||||
}
|
||||
}
|
||||
$update_pkg_list_cmd = 'apt-get update >/dev/null 2>&1;'
|
||||
$login_defs = 'puppet:///modules/openstack_project/login.defs.debian'
|
||||
}
|
||||
|
@ -292,11 +292,15 @@ class openstack_project::template (
|
||||
# Which Puppet do I take?
|
||||
# Take $puppet_version and pin to that version
|
||||
if ($::osfamily == 'Debian') {
|
||||
apt::source { 'puppetlabs':
|
||||
location => 'http://apt.puppetlabs.com',
|
||||
repos => 'main',
|
||||
key => '4BD6EC30',
|
||||
key_server => 'pgp.mit.edu',
|
||||
# Note(JR): Puppetlabs does not support Ubuntu Vivid currently, but it
|
||||
# also seems that distro packages are recent enough
|
||||
if ($::operatingsystemrelease != '15.04') {
|
||||
apt::source { 'puppetlabs':
|
||||
location => 'http://apt.puppetlabs.com',
|
||||
repos => 'main',
|
||||
key => '4BD6EC30',
|
||||
key_server => 'pgp.mit.edu',
|
||||
}
|
||||
}
|
||||
|
||||
file { '/etc/apt/apt.conf.d/80retry':
|
||||
|
Loading…
Reference in New Issue
Block a user