Skip to content

Commit

Permalink
Fix installer bugs related to fence-agents
Browse files Browse the repository at this point in the history
- Install libxslt package, required to build later fence-agents versions
- Install pexpect package if system arch is x86_64 or if Linux distribution
  is RHEL/CentOS 7+
  • Loading branch information
Alan Evangelista committed Oct 23, 2014
1 parent 48fe7b3 commit 6c0d5fe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/aux/installer/installer.sh
Expand Up @@ -236,18 +236,19 @@ function install_fence_agents()

# Linux packages dependencies, installed via YUM package manager
# build dependencies
local dependencies="autoconf automake gcc git libtool nss nss-devel python-devel python-setuptools python-suds"
local dependencies="autoconf automake gcc git libtool libxslt nss nss-devel python-devel python-setuptools python-suds"
# runtime dependencies
dependencies="$dependencies ipmitool telnet"
if [ $arch == "x86_64" ]; then
dependencies="$dependencies perl-Net-Telnet"
fi
if [ $redhat_version != "6" ]; then
dependencies="$dependencies python-requests"
if [ $arch == "x86_64" ]; then
dependencies="$dependencies pexpect"
fi
fi
if [ $redhat_version != "6" ] || [ $arch == "x86_64" ]; then
dependencies="$dependencies pexpect"
fi

yum install -y $dependencies

# perl-Net-Telnet rpm package is not available for ppc64, download it
Expand Down

0 comments on commit 6c0d5fe

Please sign in to comment.