projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29da114
)
get name right
author
Stephen Gran
<steve@lobefin.net>
Thu, 5 Apr 2012 11:59:58 +0000
(12:59 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Thu, 5 Apr 2012 11:59:58 +0000
(12:59 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/site/manifests/aptrepo.pp
patch
|
blob
|
history
diff --git
a/modules/site/manifests/aptrepo.pp
b/modules/site/manifests/aptrepo.pp
index
b1c825d
..
d461807
100644
(file)
--- 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}"]