Ask Your Question

example42-yum for Oracle Linux Server

asked 2014-06-19 13:40:18 -0600

zogman gravatar image

updated 2014-06-19 18:50:34 -0600

spuder gravatar image

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:

name=Oracle Linux $releasever - $basearch - latest

name=Oracle Linux $releasever - $basearch - addons

I don't (yet) need to manage the yum repo server itself.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-19 18:54:22 -0600

spuder gravatar image

Yes, from what it looks like in his code, you should need to add an oracle.pp file to this location

You likely will also need to add an if statement to the defaults file.

You will also need to add the gpp key to 'modules/yum/oracle/RPM-GPG-KEY-oracle' ( or simlar)

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-06-19 13:40:18 -0600

Seen: 195 times

Last updated: Jun 19 '14