2015-11-30 14:18:26 +00:00
|
|
|
# Configure apt::source
|
|
|
|
#
|
|
|
|
class fluentd::repo::apt (
|
2016-01-22 23:32:29 +00:00
|
|
|
$ensure = 'present',
|
2018-05-04 20:07:16 +00:00
|
|
|
$location = downcase("http://packages.treasuredata.com/${::fluentd::repo_version}/${::lsbdistid}/${::lsbdistcodename}"),
|
2016-01-22 23:32:29 +00:00
|
|
|
$release = $::lsbdistcodename,
|
|
|
|
$repos = 'contrib',
|
|
|
|
$architecture = $::architecture,
|
|
|
|
$key = {
|
2017-01-02 14:45:54 +00:00
|
|
|
'id' => 'BEE682289B2217F45AF4CC3F901F9177AB97ACBE',
|
2016-01-22 17:52:12 +00:00
|
|
|
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
|
2015-11-30 15:06:26 +00:00
|
|
|
},
|
2016-01-26 21:13:30 +00:00
|
|
|
$include = {
|
|
|
|
'src' => false,
|
|
|
|
'deb' => true,
|
|
|
|
},
|
2015-11-30 14:18:26 +00:00
|
|
|
) {
|
|
|
|
|
|
|
|
include '::apt'
|
|
|
|
|
|
|
|
apt::source { 'treasure-data':
|
2016-01-22 23:32:29 +00:00
|
|
|
ensure => $ensure,
|
|
|
|
location => $location,
|
|
|
|
release => $release,
|
|
|
|
architecture => $architecture,
|
|
|
|
repos => $repos,
|
|
|
|
key => $key,
|
2016-01-26 21:13:30 +00:00
|
|
|
include => $include,
|
2015-11-30 14:18:26 +00:00
|
|
|
}
|
2015-11-30 17:00:38 +00:00
|
|
|
}
|