From: Stephen Gran Date: Thu, 5 Apr 2012 11:28:49 +0000 (+0100) Subject: define, not class X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=e75290ccf8c00441da366534d3d0e50381f7ef72;p=mirror%2Fdsa-puppet.git define, not class Signed-off-by: Stephen Gran --- diff --git a/modules/site/manifests/aptrepo.pp b/modules/site/manifests/aptrepo.pp index eb03d4651..b1c825dcc 100644 --- a/modules/site/manifests/aptrepo.pp +++ b/modules/site/manifests/aptrepo.pp @@ -1,4 +1,4 @@ -class site::aptrepo ($key = undef, $template = undef, $config = undef, $ensure = present) { +define site::aptrepo ($key = undef, $template = undef, $config = undef, $ensure = present) { if $key { exec { "apt-key-update-${name}":