From 9f4bef70433f00651c2391a8716e0a7be4547279 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Fri, 27 Apr 2012 20:20:51 +0100 Subject: [PATCH] shouldn't need this Signed-off-by: Stephen Gran --- modules/site/manifests/aptrepo.pp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/site/manifests/aptrepo.pp b/modules/site/manifests/aptrepo.pp index d0e34ecaf..d5bae7812 100644 --- a/modules/site/manifests/aptrepo.pp +++ b/modules/site/manifests/aptrepo.pp @@ -1,5 +1,4 @@ -define site::aptrepo ($key = undef, $keyid = undef, $template = undef, $config = undef, $ensure = present, $require = []) { - +define site::aptrepo ($key = undef, $keyid = undef, $template = undef, $config = undef, $ensure = present) { case $ensure { present: { @@ -50,14 +49,12 @@ define site::aptrepo ($key = undef, $keyid = undef, $template = undef, $config = ensure => $ensure, content => template($template), notify => Exec['apt-get update'], - require => $require, } } else { file { "/etc/apt/sources.list.d/${name}.list": ensure => $ensure, source => $config, notify => Exec['apt-get update'], - require => $require, } } } -- 2.20.1