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

31 lines
800 B
ObjectPascal
Raw Normal View History

# Configure apt::source
#
class fluentd::repo::apt (
2016-01-22 23:32:29 +00:00
$ensure = 'present',
$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 = {
'id' => 'BEE682289B2217F45AF4CC3F901F9177AB97ACBE',
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
2015-11-30 15:06:26 +00:00
},
$include = {
'src' => false,
'deb' => true,
},
) {
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,
include => $include,
}
2015-11-30 17:00:38 +00:00
}