Skip to content
Snippets Groups Projects
Commit 1f40cf96 authored by Jonathan Lent's avatar Jonathan Lent
Browse files

Changes to [rpm] and [os] for RHEL and CentOS repos, groups

parent e3f40a08
No related branches found
No related tags found
No related merge requests found
release/004.045 (2015-06-02)
[rpm] Removing the ensures that continue to push out the
RHEL OS repositories previously hosted on yum, since we no
no longer have our RedHat licensing agreement. Any one-off
hosts with new keys will need to point at a cloud-based
instance anyway (jlent)
[os/centos] Changing the group name for GID 37 back to
rpm, as it is in RedHat proper (jlent)
release/004.044 (2015-05-21)
[vmguest] Add a parameter to allow the non-installation of the
......
......@@ -24,7 +24,7 @@ class base::os::centos {
package { $centos_opt_pkgs: ensure => installed }
# group 37 (operator/rpm) does not exist on CentOS
group { 'operator':
group { 'rpm':
ensure => present,
gid => '37',
}
......
......@@ -46,11 +46,6 @@ class base::rpm {
}
base::rpm::yumrepo { "stanford-priv-EL${::lsbmajdistrelease}.repo": }
base::rpm::yumrepo { "stanford-EL${::lsbmajdistrelease}.repo": }
# RedHat-specific repository mirror (e.g. not CentOS)
# This will be going away on 2015-05-31, so not syncing RHEL7 at all
if ($::operatingsystem == 'RedHat' and $::lsbmajdistrelease != '7') {
base::rpm::yumrepo { "stanford-rhel${::lsbmajdistrelease}.repo": }
}
# puppetlabs repo now being mirrored on yum.stanford.edu
file { '/etc/yum.repos.d/puppet-mirror.repo':
ensure => present,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment