While installing the puppet rpm’s we ran into an error. Note, we downloaded some prerequisite rpm’s first then attempted to install them.
[root@centos01 software]# ls -1
facter-2.4.1-1.el7.x86_64.rpm
hiera-1.3.4-1.el7.noarch.rpm
puppet-3.7.4-1.el7.noarch.rpm
puppet-server-3.7.4-1.el7.noarch.rpm
ruby-augeas-0.4.1-3.el7.x86_64.rpm
ruby-shadow-2.2.0-2.el7.x86_64.rpm
[root@centos01 software]# rpm -ivh *.rpm
warning: facter-2.4.1-1.el7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 4bd6ec30: NOKEY
error: Failed dependencies:
ruby(selinux) is needed by puppet-3.7.4-1.el7.noarch
It would seem that selinux is causing some issue here. In this case we are missing a dependency. You will need to install the selinux ruby library. It can be done as follows
[root@centos01 software]# yum install libselinux-ruby
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.pac-12.org
* extras: repos.redrockhost.com
* updates: repos.redrockhost.com
Resolving Dependencies
--> Running transaction check
---> Package libselinux-ruby.x86_64 0:2.2.2-6.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================
Installing:
libselinux-ruby x86_64 2.2.2-6.el7 base 127 k
Transaction Summary
==================================================================================================================================================
Install 1 Package
Now that the library is installed we can now perform the installation of the puppet rpm’s
Preparing... ################################# [100%]
Updating / installing...
1:ruby-shadow-1:2.2.0-2.el7 ################################# [ 17%]
2:ruby-augeas-0.4.1-3.el7 ################################# [ 33%]
3:hiera-1.3.4-1.el7 ################################# [ 50%]
4:facter-1:2.4.1-1.el7 ################################# [ 67%]
5:puppet-3.7.4-1.el7 ################################# [ 83%]
6:puppet-server-3.7.4-1.el7 ################################# [100%]
Leave a Reply
You must be logged in to post a comment.