Ask Your Question
1

example42-yum for Oracle Linux Server

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

zogman gravatar image

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

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:

[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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

spuder gravatar image

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

https://github.com/example42/puppet-y...

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

https://github.com/example42/puppet-y...

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

Stats

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

Seen: 186 times

Last updated: Jun 19 '14