From d5f1e7370a097eeb2336750260bd26843c91f1eb Mon Sep 17 00:00:00 2001 From: Alessandro Franceschi Date: Wed, 28 Oct 2015 12:07:16 +0100 Subject: [PATCH] On Debian and Ubuntu libxslt-dev is a virtual package Puppet handling of virtual packages is not optimal: on each run we get: Notice: /Stage[main]/Newrelic_plugins::Aws_cloudwatch/Package[libxslt-dev]/ensure: ensure changed 'purged' to 'present' because libxslt-dev is not found as installed, and when we install it, being a virtual package, it installs libxslt1-dev So better to use directly libxslt1-dev for idempotency. References: https://packages.debian.org/sid/libxslt-dev http://packages.ubuntu.com/precise/libxslt-dev --- manifests/params.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/params.pp b/manifests/params.pp index 99337db..ca15c7f 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -21,7 +21,7 @@ # nokogiri dependencies if $::osfamily == 'Debian' { - $nokogiri_packages = ['libxml2-dev', 'libxslt-dev'] + $nokogiri_packages = ['libxml2-dev', 'libxslt1-dev'] } else { $nokogiri_packages = ['libxml2', 'libxml2-devel', 'libxslt', 'libxslt-devel']