From: Vanessa Rene Valderrama Date: Thu, 20 Feb 2020 15:41:31 +0000 (-0600) Subject: Fix PackageCloud install on Ubuntu X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F23%2F25323%2F1;p=ci-management.git 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 --- 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: