changeset 54:30f56d6f9d33 puppet-3.6

Make Webtatic distro-specific using built-in Yum variable
author IBBoard <dev@ibboard.co.uk>
date Sun, 26 Jul 2015 15:21:00 +0100
parents 5cdc1c96c477
children ce8eaaca6a34
files manifests/templates.pp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/manifests/templates.pp	Sat Jul 25 17:10:35 2015 +0100
+++ b/manifests/templates.pp	Sun Jul 26 15:21:00 2015 +0100
@@ -138,7 +138,7 @@
 		before => YumRepo['ibboard'],
 	}
 	yumrepo { 'webtatic':
-		mirrorlist => 'http://mirror.webtatic.com/yum/el6/$basearch/mirrorlist',
+		mirrorlist => 'http://mirror.webtatic.com/yum/el$releasever/$basearch/mirrorlist',
 		descr => "Extra Packages for Enterprise Linux",
 		enabled => 1,
 		failovermethod => 'priority',