mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-12-16 13:20:35 +00:00
24 lines
564 B
Puppet
24 lines
564 B
Puppet
# Configure apt::source
|
|
#
|
|
class fluentd::repo::apt (
|
|
$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'
|
|
},
|
|
) {
|
|
|
|
include '::apt'
|
|
|
|
apt::source { 'treasure-data':
|
|
ensure => $ensure,
|
|
location => $location,
|
|
release => $release,
|
|
repos => $repos,
|
|
key => $key,
|
|
}
|
|
}
|