Ask Your Question
0

Installation of Open Source Puppet on RHEL 6 without Internet Connection

asked 2015-07-23 09:47:47 -0500

headcrack3r gravatar image

Hello,

We are trying to install Open source puppet on servers running RHEL 6 and have not internet connectivity. We want to know how it can be installed by downloading the rpm package offline.

We I tried downloading the rpm from the yum repo and running the below commands.

[root@CDCUDDOPSAPP etc]# rpm -ivh puppetlabs-release-el-6.noarch.rpm
warning: puppetlabs-release-el-6.noarch.rpm: Header V4 RSA/SHA1 Signature, key ID 4bd6ec30: NOKEY
Preparing...                ########################################### [100%]
        package puppetlabs-release-6-11.noarch is already installed
[root@CDCUDDOPSAPP etc]# yum install puppet-server
Loaded plugins: product-id, refresh-packagekit, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
No package puppet-server available.
Error: Nothing to do
[root@CDCUDDOPSAPP etc]#

Please help with the setup

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
0

answered 2015-07-24 03:02:32 -0500

have a look in /etc/yum.repos.d - is the puppet repo there? run yum repolist can yu see the repo?

is the repo enabled?

dumb question - are you using rhel6?

have a look at puppet-repos

edit flag offensive delete link more
0

answered 2015-07-24 13:12:17 -0500

GregLarkin gravatar image

The RPM name is "puppetserver", not "puppet-server", according to https://docs.puppetlabs.com/puppet/4.0/reference/install_linux.html#install-puppet-server

edit flag offensive delete link more

Comments

Hello, Thanks. Tried installing it with puppetserver, not able to connect as there is no Internet Connection from the server. http://yum.puppetlabs.com/el/6/dependencies/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'yum.puppetlabs.com'"

headcrack3r gravatar imageheadcrack3r ( 2015-07-27 02:07:04 -0500 )edit

I'm sure you already know this, but you'll either need a connection to the Internet from that machine or a local mirror of the PL repository in order to install.

GregLarkin gravatar imageGregLarkin ( 2015-07-27 15:54:49 -0500 )edit
0

answered 2015-07-28 18:13:25 -0500

johnnyb04 gravatar image

updated 2015-07-30 07:27:25 -0500

On a machine connected to the Internet, download the package "yum-utils ". Once you have this, use the yumdownloader command (with the -resolve option) to download puppet and all its dependencies. Save these RPMs to a disk or thumb drive to transfer to your machine. Next, do a rpm localinstall on all of those RPMs (put all the RPMs in a single command). This should install it for you.

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

Stats

Asked: 2015-07-23 09:47:47 -0500

Seen: 755 times

Last updated: Jul 30 '15