Project

General

Profile

Actions

Support #23701

open

How to Install Foreman without Internet connection

Added by Mostafa Yasin almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello all!

I have a question regarding the creation of a private repo using RHEL 6.4 for Foreman/Puppet.

I have a VirtualBox setup at home where I am trying to create a Foreman/Puppet Master VM without any connection to the internet. I've recently installed Foreman/Puppet on a CentOS VM using the foreman-installer while connected to the internet and found it was very easy to accomplish. I was thinking there might be a way to somehow leverage all the packages the foreman-installer pulls down from the public repo's online and installs, wrangle them all up into a directory, and perform 'createrepo'.

would like to have all of the packages necessary to install Foreman/Puppet on a DVD so I can quickly install it offline..

This is my first time creating my own repository and I understand that the usual way would be to hunt down each package manually.. I was hoping there would be a quicker way to accomplish this..

Thanks for any input!

Actions #1

Updated by Matt Darcy almost 6 years ago

pretty much all my foreman / katello installs are done from local mirrors in self contained development environments, there is also the foreman "live CD" which must have an install processs as part of it's build.

This would be relatively easy to setup, and a little more effort to maintain after initial install if you're expecting to update and maintain the packages post install.

If you're interested I'd be happy to work with a build/script to pull this together and something that could be snapshotted eg: build_master_repo.sh sort of thing that at that moment in time queries all the repos, manages the dependencies, does multiple repo syncs and creates the metadata into a single repo.

if you want to reach out to me I'd be happy to work this with you as it should be pretty minor and maybe more people would benefit from this as a moment in time snap shot for install/updates on isolated machines.

I personally think the norm is for these repos to be mirrored fully locally in "business" environments where there is no client internet access, so your usecase is smaller but still just as valid.

Actions

Also available in: Atom PDF