schroot has to be on hold on wheezy
[mirror/dsa-puppet.git] / modules / site / manifests / aptrepo.pp
index b1c825d..d461807 100644 (file)
@@ -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}"]