Re: [Puppet Users] Can I store RPM's on the Puppet Server to install on agents ?

2022-09-29 Thread 'Tim Mooney' via Puppet Users

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.moo...@ndsu.edu
Enterprise Computing & Infrastructure /
Division of Information Technology/701-231-1076 (Voice)
North Dakota State University, Fargo, ND 58105-5164

--
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/78981746-8974-b2ea-51ee-3944b8d7e0a8%40ndsu.edu.


Re: [Puppet Users] Can I store RPM's on the Puppet Server to install on agents ?

2022-09-29 Thread James Pryor
 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.




On Thu, Sep 29, 2022 at 3:58 PM Boheme  wrote:

> 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  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+unsubscr...@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
> 
> .
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/73D32A0E-177E-47B4-8496-D831A9753268%40gmail.com
> 
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAOsPUcgcaNjnE47sJm_c%3DTxhWtgiHZMKeJpqLDnXuUep3KcBLg%40mail.gmail.com.


Re: [Puppet Users] Can I store RPM's on the Puppet Server to install on agents ?

2022-09-29 Thread Boheme
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 3000On 30/09/2022, at 3:35 AM, 'White, Daniel E. (GSFC-770.0)[AEGIS]' via Puppet Users  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+unsubscr...@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.




-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/73D32A0E-177E-47B4-8496-D831A9753268%40gmail.com.


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

2022-09-29 Thread 'White, Daniel E. (GSFC-770.0)[AEGIS]' via Puppet Users
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+unsubscr...@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.