define, not class
authorStephen Gran <steve@lobefin.net>
Thu, 5 Apr 2012 11:28:49 +0000 (12:28 +0100)
committerStephen Gran <steve@lobefin.net>
Thu, 5 Apr 2012 11:28:49 +0000 (12:28 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/site/manifests/aptrepo.pp

index eb03d46..b1c825d 100644 (file)
@@ -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}":