Hi folks,

I'm working on a manifest that manages the stock yum.repos.d definitions from CentOS and can override some settings. This is tested and working on CentOS 7 but produces different behaviour on CentOS 6.

This is the repo definition:

yumrepo { 'CentOS-Base':
  name       => 'base',
  target     => '/etc/yum.repos.d/CentOS-Base.repo',
  baseurl    => $baseurl,
  mirrorlist => $mirrorlist,
  descr      => 'CentOS-$releasever - Base',
  enabled    => $enabled,
  gpgcheck   => '1',
gpgkey => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-${::repo_centos::releasever}",
}

On CentOS 7 this produces a file "CentOS-Base.repo". On CentOS 6 this produces a file "base.repo". Both platforms are running Puppet 3.8.7. Is this a bug?

Full code here if anyone is interested: https://github.com/uobnetops/repo_centos/blob/repo_naming/manifests/base.pp

Thanks,
Jonathan

--
Jonathan Gazeley
Senior Systems Administrator
IT Services
University of Bristol

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/bada6233-fdc4-d3ed-8284-07202b6c1837%40bristol.ac.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to