From 208ccada51f035999960f1d1b6cdc78e3010feb2 Mon Sep 17 00:00:00 2001 From: Dimitrios Liappis Date: Mon, 25 Jul 2016 15:40:59 +0300 Subject: [PATCH] Disable EPEL repo in kitchen CI The EPEL repo referencing download.fedoraproject.org is frequently timing out on yum install operations. Disable the EPEL and puppetlabs repo with kitchen during CI builds. --- .kitchen.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.kitchen.yml b/.kitchen.yml index 2b29495..0d2582c 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -55,6 +55,7 @@ platforms: - sed -ri 's/^#?PermitRootLogin .*/PermitRootLogin yes/' /etc/ssh/sshd_config - sed -ri 's/^#?PasswordAuthentication .*/PasswordAuthentication yes/' /etc/ssh/sshd_config - sed -ri 's/^#?UsePAM .*/UsePAM no/' /etc/ssh/sshd_config + - rm /etc/yum.repos.d/epel*repo /etc/yum.repos.d/puppetlabs-pc1.repo - yum -y install initscripts - yum clean all run_command: "/usr/sbin/init" @@ -136,4 +137,4 @@ suites: run_list: attributes: provisioner: - playbook: test/integration/xpack.yml \ No newline at end of file + playbook: test/integration/xpack.yml