Mercurial > repos > other > Puppet
comparison manifests/templates.pp @ 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 |
comparison
equal
deleted
inserted
replaced
48:5cdc1c96c477 | 54:30f56d6f9d33 |
---|---|
136 ensure => present, | 136 ensure => present, |
137 source => 'puppet:///common/RPM-GPG-KEY-IBBoard-OBS', | 137 source => 'puppet:///common/RPM-GPG-KEY-IBBoard-OBS', |
138 before => YumRepo['ibboard'], | 138 before => YumRepo['ibboard'], |
139 } | 139 } |
140 yumrepo { 'webtatic': | 140 yumrepo { 'webtatic': |
141 mirrorlist => 'http://mirror.webtatic.com/yum/el6/$basearch/mirrorlist', | 141 mirrorlist => 'http://mirror.webtatic.com/yum/el$releasever/$basearch/mirrorlist', |
142 descr => "Extra Packages for Enterprise Linux", | 142 descr => "Extra Packages for Enterprise Linux", |
143 enabled => 1, | 143 enabled => 1, |
144 failovermethod => 'priority', | 144 failovermethod => 'priority', |
145 gpgcheck => 1, | 145 gpgcheck => 1, |
146 gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy', | 146 gpgkey => 'file:///etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy', |