From cdd25919b7c854f7a384a1abc65f6bfd2507428c Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Thu, 5 Apr 2012 12:59:58 +0100 Subject: [PATCH] get name right Signed-off-by: Stephen Gran --- modules/site/manifests/aptrepo.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/site/manifests/aptrepo.pp b/modules/site/manifests/aptrepo.pp index b1c825dcc..d461807af 100644 --- a/modules/site/manifests/aptrepo.pp +++ b/modules/site/manifests/aptrepo.pp @@ -2,11 +2,11 @@ define site::aptrepo ($key = undef, $template = undef, $config = undef, $ensure if $key { exec { "apt-key-update-${name}": - command => "apt-key add /etc/apt/trusted-keys.d/${name}", + command => "apt-key add /etc/apt/trusted-keys.d/${name}.asc", refreshonly => true, } - file { "/etc/apt/trusted-keys.d/${name}": + file { "/etc/apt/trusted-keys.d/${name}.asc": source => $key, mode => '0664', notify => Exec["apt-key-update-${name}"] -- 2.20.1