aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2015-08-31 09:54:28 +0000
committerintrigeri <intrigeri@boum.org>2015-08-31 09:54:28 +0000
commitdc1a19e6cb7f05815f95f90033d212758f59744b (patch)
tree98fe79b7383fae137d4682e7f9b80cbd80fed67c /manifests
parent1e81ba185e3d1bd598542aa1e58fe6ae9389af87 (diff)
downloadpuppet-apt-dc1a19e6cb7f05815f95f90033d212758f59744b.tar.gz
puppet-apt-dc1a19e6cb7f05815f95f90033d212758f59744b.tar.bz2
Linting.
Diffstat (limited to 'manifests')
-rw-r--r--manifests/key.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/key.pp b/manifests/key.pp
index b396c1e..7be526e 100644
--- a/manifests/key.pp
+++ b/manifests/key.pp
@@ -1,8 +1,8 @@
-define apt::key ($ensure = 'present', $source) {
+define apt::key ($source, $ensure = 'present') {
file {
- "/etc/apt/trusted.gpg.d/$name":
- source => $source,
+ "/etc/apt/trusted.gpg.d/${name}":
ensure => $ensure,
+ source => $source,
notify => Exec['refresh_apt'],
}
}