Merge "Pin facter on centos boxes"

This commit is contained in:
Jenkins 2014-04-21 18:02:07 +00:00 committed by Gerrit Code Review
commit 50d8ba1e8d
3 changed files with 19 additions and 1 deletions

View File

@ -55,7 +55,7 @@ baseurl=http://yum.puppetlabs.com/el/6/products/$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
enabled=1
gpgcheck=1
exclude=puppet-2.8* puppet-2.9* puppet-3*
exclude=puppet-2.8* puppet-2.9* puppet-3* facter-2*
EOF
yum update -y

View File

@ -0,0 +1,7 @@
[puppetlabs-products]
name=Puppet Labs Products El 6 - $basearch
baseurl=http://yum.puppetlabs.com/el/6/products/$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
enabled=1
gpgcheck=1
exclude=puppet-2.8* puppet-2.9* puppet-3* facter-2*

View File

@ -122,6 +122,17 @@ class openstack_project::base(
}
if ($::operatingsystem == 'CentOS') {
file { '/etc/yum.repos.d/puppetlabs.repo':
ensure => present,
owner => 'root',
group => 'root',
mode => '0444',
source => 'puppet:///modules/openstack_project/centos-puppetlabs.repo',
replace => true,
}
}
file { '/etc/puppet/puppet.conf':
ensure => present,
owner => 'root',