From: Stephen Gran Date: Fri, 27 Apr 2012 19:20:51 +0000 (+0100) Subject: shouldn't need this X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=9f4bef70433f00651c2391a8716e0a7be4547279;p=mirror%2Fdsa-puppet.git shouldn't need this Signed-off-by: Stephen Gran --- 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, } } }