Ask Your Question

Need to download RPMs for Puppet 4 for offline install

asked 2016-05-04 00:21:07 -0500

Ivantremble gravatar image

I work on a government site where external internet access is banned for back-end Servers. I need to download the RPMs for Puppet 4 on Redhat 6.5, and to know which packages are required. The only goes up to Puppet 3.8. I need to know the location of the most recent packages.

INTERNET ACCESS IS NOT AVAILABLE TO THE SERVER! (for those who read the second sentence and not the first.)

Question 18428 asks this question but does not answer it. Please provide up-to-date instructions and locations of newest packages.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-05-04 11:17:30 -0500

The RPMs do still come from, but now inside the PC1 folder (Puppet Collections 1, google that). Also, since Puppet 4, there has been the AIO (all-in-one) packaging, so you need to download the puppet-agent (latest right now is 1.4.2) and for a Puppet Master, you need the puppetserver package (latest is 2.3.2).

Be aware that puppetserver is pulling in a bunch of dependencies (my test box is CentOS 6.6, I don't have RHEL 6.5 handy):

  • freetype
  • java-1.8.0-openjdk-headless
  • jpackage-utils
  • tzdata-java

YMMV. Good luck

edit flag offensive delete link more


Thanks for the feedback. will dig into it further this week.

Ivantremble gravatar imageIvantremble ( 2016-05-10 04:35:45 -0500 )edit

answered 2016-05-04 20:35:21 -0500

DarylW gravatar image

updated 2016-05-04 22:17:28 -0500

If you have a similar base system (or use a docker container) You can add some arguments to the yum command to either just download the rpms, or have it download them and not clean them up...

So, following Alex's advice above... with, for example, a centos6.6 docker image and using the --download-only flag..

Here is a gist of all of the commands I ran and their output..

At the end, I had the following rpm's cached..


You could also mount a volume when you run the docker container so they are saved to your local drive.

docker run -v /tmp/rpm:/var/cache/yum/x86_64/6/ -ti centos:6.6 /bin/bash

and following the same commands as I did above puts my rpm cache directory in /tmp/rpm. Note that you need to use an absolute path for your host machine's path in the volume argument, I just spent a half hour wondering where my files went when I did -v rpm:/var/cache/yum/x86_64/6/

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: 2016-05-04 00:21:07 -0500

Seen: 236 times

Last updated: May 04 '16