mirror of
https://github.com/krislamo/puppet-fluentd
synced 2024-11-13 21:50:34 +00:00
commit
6a05cae33e
@ -7,7 +7,7 @@ class fluentd::repo::apt (
|
|||||||
$repos = 'contrib',
|
$repos = 'contrib',
|
||||||
$architecture = $::architecture,
|
$architecture = $::architecture,
|
||||||
$key = {
|
$key = {
|
||||||
'id' => 'C901622B5EC4AF820C38AB861093DB45A12E206F',
|
'id' => 'BEE682289B2217F45AF4CC3F901F9177AB97ACBE',
|
||||||
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
|
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
|
||||||
},
|
},
|
||||||
$include = {
|
$include = {
|
||||||
|
@ -23,4 +23,11 @@ class fluentd::repo::yum (
|
|||||||
path => '/bin:/usr/bin/',
|
path => '/bin:/usr/bin/',
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec { 'remove old GPG key':
|
||||||
|
command => 'rpm -e --allmatches gpg-pubkey-a12e206f-*',
|
||||||
|
onlyif => 'rpm -qi gpg-pubkey-a12e206f-*',
|
||||||
|
notify => Exec['add GPG key'],
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ describe 'fluentd::repo::apt', :type => :class do
|
|||||||
'repos' => 'contrib',
|
'repos' => 'contrib',
|
||||||
'architecture' => 'amd64',
|
'architecture' => 'amd64',
|
||||||
'key' => {
|
'key' => {
|
||||||
'id' => 'C901622B5EC4AF820C38AB861093DB45A12E206F',
|
'id' => 'BEE682289B2217F45AF4CC3F901F9177AB97ACBE',
|
||||||
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
|
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
|
||||||
},
|
},
|
||||||
'include' => {
|
'include' => {
|
||||||
|
Loading…
Reference in New Issue
Block a user