2015-11-30 14:18:26 +00:00
|
|
|
# Configure apt::source
|
|
|
|
#
|
|
|
|
class fluentd::repo::apt (
|
2015-11-30 15:06:26 +00:00
|
|
|
$ensure = 'present',
|
|
|
|
$location = downcase("http://packages.treasuredata.com/2/${::operatingsystem}/${::lsbdistcodename}"),
|
|
|
|
$release = $::lsbdistcodename,
|
|
|
|
$repos = 'contrib',
|
|
|
|
$key = {
|
|
|
|
'id' => '1093DB45A12E206F',
|
|
|
|
'source' => 'https://packages.treasuredata.com/GPG-KEY-td-agent'
|
|
|
|
},
|
2015-11-30 14:18:26 +00:00
|
|
|
) {
|
|
|
|
|
|
|
|
include '::apt'
|
|
|
|
|
|
|
|
apt::source { 'treasure-data':
|
|
|
|
ensure => $ensure,
|
|
|
|
location => $location,
|
|
|
|
release => $release,
|
|
|
|
repos => $repos,
|
2015-11-30 15:06:26 +00:00
|
|
|
key => $key,
|
2015-11-30 14:18:26 +00:00
|
|
|
}
|
2015-11-30 17:00:38 +00:00
|
|
|
}
|