From 0a015155a930e90733e2165231a352eb05ee6f44 Mon Sep 17 00:00:00 2001 From: Max Wilhelm Date: Mon, 30 Nov 2015 16:06:26 +0100 Subject: [PATCH] added key id to fluentd::repo::apt --- manifests/repo/apt.pp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/manifests/repo/apt.pp b/manifests/repo/apt.pp index 351d745..eba30a5 100644 --- a/manifests/repo/apt.pp +++ b/manifests/repo/apt.pp @@ -1,11 +1,14 @@ # Configure apt::source # class fluentd::repo::apt ( - $ensure = 'present', - $location = downcase("http://packages.treasuredata.com/2/${::operatingsystem}/${::lsbdistcodename}"), - $release = $::lsbdistcodename, - $repos = 'contrib', - $key_source = 'https://packages.treasuredata.com/GPG-KEY-td-agent', + $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' @@ -15,6 +18,6 @@ class fluentd::repo::apt ( location => $location, release => $release, repos => $repos, - key_source => $key_source, + key => $key, } } \ No newline at end of file