1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-12-16 13:20:35 +00:00
puppet-fluentd/manifests/repo/apt.pp

24 lines
564 B
ObjectPascal
Raw Normal View History

# 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'
},
) {
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 17:00:38 +00:00
}