example42-yum for Oracle Linux Server
I need a forge module to manage the yum repo file on my Oracle Linux Server nodes. The example42-yum module supports just about every yum-based distribution except Oracle Linux so I'm attempting to add support for OLS myself. I'm wondering whether I need to fork example42-yum or just add the new OS support component to my local site_yum module.
Am I on the right track in thinking I need to create (at minimum) an oracle.pp file to /etc/puppetlabs/puppet/module/siteyum/manifests/repo dir? I will also need to add a public key file to /etc/puppetlabs/puppet/modules/siteyum/files/oracle/rpm-gpg
Our local yum repo file contains:
[ol6_x86_64_latest] name=Oracle Linux $releasever - $basearch - latest baseurl=http://kickstart.sss01.XXX.us/yum/latest/OracleLinux/OL6/latest/$basearch/ gpgcheck=1 enabled=1 [ol6_x86_64_addons] name=Oracle Linux $releasever - $basearch - addons baseurl=http://kickstart.sss01.XXX.us/yum/latest/OracleLinux/OL6/addons/$basearch/ gpgcheck=1 enabled=1
I don't (yet) need to manage the yum repo server itself.