From: Stephen Gran Date: Thu, 5 Apr 2012 11:59:58 +0000 (+0100) Subject: get name right X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cdd25919b7c854f7a384a1abc65f6bfd2507428c;p=mirror%2Fdsa-puppet.git get name right Signed-off-by: Stephen Gran --- 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}"]