From ec50d495850a128f911148c53d9b91cb88551cbd Mon Sep 17 00:00:00 2001 From: Vanessa Rene Valderrama Date: Thu, 20 Feb 2020 09:41:31 -0600 Subject: [PATCH] Fix PackageCloud install on Ubuntu The new images don't have PackageCloud installed. This change is to install PackageCloud on Ubuntu 16.04 and 18.04 Signed-off-by: Vanessa Rene Valderrama Change-Id: I142cecacc947bbddd82f42dbfffeb1fb2b36298d --- packer/provision/local-builder.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packer/provision/local-builder.yaml b/packer/provision/local-builder.yaml index bcdf512eb..e5af263a7 100644 --- a/packer/provision/local-builder.yaml +++ b/packer/provision/local-builder.yaml @@ -137,6 +137,12 @@ when: ansible_distribution == 'Ubuntu' and ansible_distribution_version == '18.04' become: true + - name: 'Install PackageCloud' + command: 'gem install package_cloud' + # yamllint disable-line rule:line-length + when: ansible_distribution == 'Ubuntu' + become: true + - name: 'Install FD.io Required CentOS 7 Packages' yum: name: -- 2.16.6