From c945f0e3f1efb95fd290016bfed453292d21db4c Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Fri, 22 Jun 2018 21:26:35 +0200 Subject: [PATCH] Fix name of libxslt dev package `libxslt-dev` is the virtual package. Puppet can install it fine, but can't detect that it's already installed and will attempt to reinstall it on every run, breaking idempotency tests. Use the real name of the package, `libxslt1-dev`, to avoid this. This name is the same for Trusty, Xenial, and Bionic. Change-Id: If65865c5d895559f48db325b65f3e72445ef9d4b --- manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index e6a0619..66884fc 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -79,7 +79,7 @@ class nodepool ( 'libgmp-dev', # transitive dep of paramiko # xml2 and xslt are needed to build python lxml. 'libxml2-dev', - 'libxslt-dev', + 'libxslt1-dev', ] ensure_packages($packages, {'ensure' => 'present'}) @@ -136,7 +136,7 @@ class nodepool ( Package['libffi-dev'], Package['libssl-dev'], Package['libxml2-dev'], - Package['libxslt-dev'], + Package['libxslt1-dev'], Package['libgmp-dev'], ], }