Repo management

Issues related to applications and software problems
Post Reply
jeffsmith82
Posts: 21
Joined: 2018/11/29 14:29:36

Repo management

Post by jeffsmith82 » 2019/02/17 20:25:03

I'm looking for a way to manage repo's across multiple machines.

I would like the ability to add multiple repos to machines automatically. I'm looking to add elastic searches https://www.elastic.co/guide/en/elastic ... t/rpm.html and maybe nginx's along with the usual base and updates ones.

I can write a puppet module to do this but is there an official way of doing this either ansible or spacewalk or some other method ?

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Repo management

Post by TrevorH » 2019/02/17 21:53:44

Puppet has yumrepo built in.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

jeffsmith82
Posts: 21
Joined: 2018/11/29 14:29:36

Re: Repo management

Post by jeffsmith82 » 2019/02/18 07:39:09

I was wondering if there is a better way of doing this with one of the official Red hat tools.

greys
Posts: 4
Joined: 2019/02/19 09:42:35

Re: Repo management

Post by greys » 2019/02/19 09:47:08

Well, ansible is an official Red Hat tool now.

https://docs.ansible.com/ansible/latest ... odule.html

It sounds like you won't be "managing" multiple repos - so if your need is to just provision them once at deploy time, you might do it using the post section of the kickstart file (if that's how you provision new environments).

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Repo management

Post by TrevorH » 2019/02/19 09:58:17

But if you're already using puppet to manage your systems then deploying ansible to do it in parallel seems like a strange move...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

greys
Posts: 4
Joined: 2019/02/19 09:42:35

Re: Repo management

Post by greys » 2019/02/19 14:53:44

TrevorH wrote:
2019/02/19 09:58:17
But if you're already using puppet to manage your systems then deploying ansible to do it in parallel seems like a strange move...
Yes, this wasn't a suggestion to use Puppet and Ansible in parallel.

Post Reply