Ask Your Question
1

installing puppet on rhel6 based dist problem

asked 2013-04-06 16:37:38 -0500

bush gravatar image

Good Day. I've meet some problems with installig puppet on rhel6 based distro.

Everything is fine on el5 but on el6 there is missing package in dependencies rubygems. You can compare 5 and 6 repos to see the difference. Due this you can't install puppet on rhel6 if you don't use any other repos exept yum.puppetlabs.com.

So it will be really good to add missing packages to el6 repos so we can use them.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-04-07 02:18:02 -0500

domcleal gravatar image

rubygems is part of RHEL 6 itself and so isn't duplicated in the Puppet Labs repo. The issue is that you need to enable an additional child channel to get access to it as it isn't in the base channel.

If you're using RHN Classic or Satellite, you can enable this by altering the system's channels from the host overview page and adding the following:

RHEL Server Optional (v. 6 64-bit x86_64)

(or the 32-bit version if applicable)

On Satellite, the channel label to sync is rhel-x86_64-server-optional-6.

If you're using certificate based subscriptions (subscription-manager), just ... (more)

edit flag offensive delete link more
0

answered 2013-04-07 04:04:21 -0500

bush gravatar image

Thanks for the answer. Yeah I understand that I can use other repository to install deps for puppet package. But what the point to maintain puppet dependencies repo if it dosen't contain all dependencies for puppet?

I try to explain my case. I try to make full auto pxe installation. With puppet bootstrap. When the os installed it has limited package sources. Packages can be installed from mounted life dvd iso and puppet repo. So in the end you have os with minimal packages and puppet client, then puppet do all work to make something useful from this fresh installed system.

edit flag offensive delete link more

Comments

The dependencies repo is there to provide dependencies that aren't part of the OS - these are. Typical usage is to register the system to RHN or Satellite in %post ...(more)

domcleal gravatar imagedomcleal ( 2013-04-07 04:30:16 -0500 )edit

Yes you a right it will work. But why I should use all this %post scripting when i have %packages section in my ks.conf. I just try to make ...(more)

bush gravatar imagebush ( 2013-04-07 06:16:18 -0500 )edit

One more thought is that the optional channel is available as a DVD ISO at release, so you could probably use it as an additional repo.

domcleal gravatar imagedomcleal ( 2013-04-08 02:15:53 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-04-06 16:37:38 -0500

Seen: 1,852 times

Last updated: Apr 07 '13