1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-11-10 04:50:34 +00:00
puppet-fluentd/manifests/repo/apt.pp
2015-11-30 16:06:26 +01:00

23 lines
563 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,
}
}