98a14bf396
blueprint support-ubuntu-trusty Change-Id: Ia3bb928e16f89f62fb216bd12fdd8d16ba0beff9
29 lines
843 B
Puppet
29 lines
843 B
Puppet
# configure apt sources for Ceph
|
|
class ceph::apt (
|
|
$release = 'cuttlefish'
|
|
) {
|
|
apt::key { 'ceph':
|
|
key => '17ED316D',
|
|
key_source => 'https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc',
|
|
require => Class['ceph::ssh']
|
|
}
|
|
apt::key { 'radosgw':
|
|
key => '6EAEAE2203C3951A',
|
|
require => Class['ceph::ssh']
|
|
}
|
|
Apt::Source {
|
|
require => Apt::Key['ceph', 'radosgw'],
|
|
release => $::lsbdistcodename,
|
|
before => Package['ceph'],
|
|
}
|
|
apt::source { 'ceph':
|
|
location => "http://ceph.com/debian-${release}/",
|
|
}
|
|
apt::source { 'radosgw-apache2':
|
|
location => 'http://gitbuilder.ceph.com/apache2-deb-trusty-x86_64-basic/ref/master/',
|
|
}
|
|
apt::source { 'radosgw-fastcgi':
|
|
location => 'http://gitbuilder.ceph.com/libapache-mod-fastcgi-deb-trusty-x86_64-basic/ref/master/',
|
|
}
|
|
}
|