Ask Your Question
1

kickstart installation fails, yet after installation same repo's install the pkg w/o error.

asked 2014-08-04 08:55:12 -0500

awreneau gravatar image

I have defined the following lines in my kickstart file:

repo --name=puppet --baseurl=http://yum.puppetlabs.com/el/6/products/x86_64/

repo --name=puppet-depends --baseurl=https://yum.puppetlabs.com/el/6.2/dependencies/x86_64/

During installation the dependencies fail with: image description

So I commented out the puppet pkg and redeploy. I then create a new puppet.repo file using the same url's and the dependencies are immediately resolved.

Help appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-08-25 10:32:21 -0500

domcleal gravatar image

ruby(selinux) is provided by ruby-selinux, which is part of RHEL 6's "optional" repository/channel (mostly containing non-core packages, build deps etc). This repo isn't provided on the base DVD (it's an additional DVD), so the OS tree you're installing from probably doesn't have it. After kickstarting, I expect your server is registering to RHN, Satellite or yum repositories and so only then gets access to the optional repo.

I would recommend adding puppetlabs-release to %packages so the Puppet Labs repositories remain configured after installation (or use your existing puppet.repo):

%packages
@Core
puppetlabs-release

And then in the post install section, install Puppet using yum:

%post
yum -y install puppet
chkconfig puppet on
# now configure puppet.conf etc.
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

2 followers

Stats

Asked: 2014-08-04 08:54:35 -0500

Seen: 443 times

Last updated: Aug 25 '14