From ccae6e9c4ccef9ee77fb51dd7f54d37b95c5c59e Mon Sep 17 00:00:00 2001 From: Adam Lewenberg <adamhl@stanford.edu> Date: Sat, 4 May 2013 10:34:28 -0700 Subject: [PATCH] handle the case where source is rpm (needs to have 'base/' prepended) cherry-picked from the master branch by adamhl --- manifests/rpm.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/rpm.pp b/manifests/rpm.pp index 1a39a57..c05ceeb 100644 --- a/manifests/rpm.pp +++ b/manifests/rpm.pp @@ -4,7 +4,7 @@ # base::rpm::yumrepo definition # # namevar must match source file name -define base::rpm::yumrepo ($source='rpm') { +define base::rpm::yumrepo ($source='base/rpm') { file { "/etc/yum.repos.d/${name}": source => "puppet:///modules/${source}/${name}", require => [ Package['yum'], File['/etc/yum.repos.d'] ] -- GitLab