Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Nov 30, 2012
2 parents c220b5f + 1712aa3 commit 833ed71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apt/manifests/repository.pp
Expand Up @@ -51,13 +51,13 @@
if $key {
case $key_url {
'' : {
exec { "aptkey_add_${key}":
exec { "aptkey_add_${key_url}":
command => "gpg --recv-key ${key} ; gpg -a --export | apt-key add -",
unless => "apt-key list | grep -q ${key}",
}
}
default: {
exec { "aptkey_add_${key}":
exec { "aptkey_add_${key_url}":
command => "wget -O - ${key_url} | apt-key add -",
unless => "apt-key list | grep -q ${key}",
}
Expand Down

0 comments on commit 833ed71

Please sign in to comment.