Puppet Class: apt::repo::openstack
- Defined in:
- manifests/repo/openstack.pp
Overview
Class: apt::repo::openstack
This class installs the openstack repo
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'manifests/repo/openstack.pp', line 5
class apt::repo::openstack (
$status = 'updates',
$release = 'havana',
) {
case $::operatingsystem {
'Ubuntu': {
apt::repository { "openstack_${release}":
url => 'http://ubuntu-cloud.archive.canonical.com/ubuntu',
distro => "${::lsbdistcodename}-${status}/${release}",
repository => 'main',
keyring_package => 'ubuntu-cloud-keyring',
}
}
'Debian': {
}
default: {}
}
}
|