Puppet for installation of ofed-infiniband stack

43 views
Skip to first unread message

Jon Tegner

unread,
May 19, 2012, 3:35:33 PM5/19/12
to puppet...@googlegroups.com
Hi,

I need to install ofed-rpms (1.5.4.1) on several cluster nodes, I have used the install script to generate the rpms (and install them on one of the nodes).

Then I put the relevant rpm-files on a local repository, and created a puppet module for installing them on the nodes (in this module all of the packages are listed, and I hoped that they would be installed through:

    package {
        $packagelist:
        ensure => installed,
    }

(where packagelist contains all the rpms).

However, this does not work, since yum complains when puppet is at work:

"Package libmthca-devel-static is obsoleted by libmthca-static, trying to install libmthca-static-1.0.6-2.el6.x86_64 instead"

Here libmthca-static-1.0.6-2 is included in the centos-6.2 repository, and I don't want this to be installed, but rater the libmthca-devel-static-1.0.5-0.1 from the ofed-stack.

That is, the problem here is that that some of the packages in the local (ofed-build) repository are older that the ones in the standard centos-repositories, I tried to circumvent this by put a higher priority on the local repository, but this does not help.

There is probably a more clever way of doing this (could run the install script on all the nodes, but I would prefer to incorporate it in puppet).

Hints would be appreciated.

Regards,

/jon

Reply all
Reply to author
Forward
0 new messages