From 2a20fbb52b9fa76b26f939c12cfba587a3234325 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Sun, 26 Mar 2017 00:32:19 +0100 Subject: [PATCH] Fix puppet-apply test for Debian Jessie The version of puppet 3.x in Debian Jessie is 3.7.2, which seems to be unable to read the modulepath setting from environment.conf. Since we only have the one environment, the quick fix is to link the module into the standard module path. Change-Id: I6f4fa87fa4941c29abf37c277f5ce895a51945bc --- tools/prep-apply.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/prep-apply.sh b/tools/prep-apply.sh index 66b7312546..7449446a8d 100644 --- a/tools/prep-apply.sh +++ b/tools/prep-apply.sh @@ -77,6 +77,8 @@ sudo mv /tmp/hosts /etc/hosts # of configuring hiera. sudo mkdir -p /opt/system-config sudo ln -sf $(pwd) /opt/system-config/production +# Really make sure that the openstack_project module is in the module path +sudo ln -sf /opt/system-config/production/modules/openstack_project /etc/puppet/modules sudo -H mkdir -p ~/.ansible/tmp virtualenv --system-site-packages /tmp/apply-ansible-env