Can I store RPM's on the Puppet Server to install on agents ?

17 views
Skip to first unread message

White, Daniel E. (GSFC-770.0)[AEGIS]

unread,
Sep 29, 2022, 2:35:06 PM9/29/22
to Puppet-Users Mailing List

Currently running PE 2021.4 on RHEL 8

 

We have a few assorted vendor supplied RPMs that are not available from a proper repository.

 

Is it possible to place the RPM on the PE Server somewhere so that it can be installed with a URL to it ?

 

Boheme

unread,
Sep 29, 2022, 7:58:09 PM9/29/22
to puppet...@googlegroups.com
Sure. Treat them as a file to be deployed to the system, and have an exec run on update that installs/updates the package. 

-Sent from my Pip-Boy 3000

On 30/09/2022, at 3:35 AM, 'White, Daniel E. (GSFC-770.0)[AEGIS]' via Puppet Users <puppet...@googlegroups.com> wrote:



Currently running PE 2021.4 on RHEL 8

 

We have a few assorted vendor supplied RPMs that are not available from a proper repository.

 

Is it possible to place the RPM on the PE Server somewhere so that it can be installed with a URL to it ?

 

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/D7B0A1A4-47CF-4A52-A222-1BA0F29237DE%40nasa.gov.

James Pryor

unread,
Sep 29, 2022, 8:29:30 PM9/29/22
to puppet...@googlegroups.com
I would not choose an Exec resource type as the method to install RPM packages from vendors, be it RPMs on a local filesystem or served by HTTPS-based repo.
You can and have the ability to keep the OS Packages (RPM/DEB) on the PE host machine like you can store any files on the PE host. But I would not check-in the RPMs to be stored in the version control system repository where the Puppet code and Hiera lives.
Instead the general wisdom is that Linux OS Packages (RPM or DEB) that are not in a proper repository, should then be placed into a proper package repository. This way it can be referred to as a Package resource type like any other normal installable package, in this case an RPM via YUM.




Tim Mooney

unread,
Sep 29, 2022, 8:47:44 PM9/29/22
to puppet...@googlegroups.com
In regard to: Re: [Puppet Users] Can I store RPM's on the Puppet Server to...:

> I would not choose an Exec resource type as the method to install RPM
> packages from vendors, be it RPMs on a local filesystem or served by
> HTTPS-based repo.
> You can and have the ability to keep the OS Packages (RPM/DEB) on the PE
> host machine like you can store any files on the PE host. But I would not
> check-in the RPMs to be stored in the version control system repository
> where the Puppet code and Hiera lives.
> Instead the general wisdom is that Linux OS Packages (RPM or DEB) that are
> not in a proper repository, should then be placed into a proper package
> repository. This way it can be referred to as a Package resource type like
> any other normal installable package, in this case an RPM via YUM.

+1 to everything James said.

Creating a local repo for RPMs is very easy. If you have a Linux system
that's running a web server, you're most of the way there already.

Tim
--
Tim Mooney Tim.M...@ndsu.edu
Enterprise Computing & Infrastructure /
Division of Information Technology / 701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164
Reply all
Reply to author
Forward
0 new messages