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

24 lines
577 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}"),
2015-11-30 15:06:26 +00:00
$release = $::lsbdistcodename,
$repos = 'contrib',
$key = {
2015-12-04 11:48:17 +00:00
'id' => 'C901622B5EC4AF820C38AB861093DB45A12E206F',
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
2015-11-30 15:06:26 +00:00
},
) {
include '::apt'
apt::source { 'treasure-data':
2015-12-07 10:09:31 +00:00
ensure => $ensure,
location => $location,
release => $release,
repos => $repos,
key => $key,
}
2015-11-30 17:00:38 +00:00
}