From b146c5e8866f633d26b8db30aab020fe23e5a15c Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Mon, 26 Sep 2016 15:57:15 -0400 Subject: [PATCH] Use the mosquitto ppa for ubuntu packages The ubuntu package is a couple releases out of date even in Xenial and we're hitting some random crashes with the version we're running. Hopefully a newer version will fix it. Switching to the PPA will get us the same version slated for inclusion in Ubuntu 18.04 LTS (Bionic) until we have an opportunity to upgrade the server. Change-Id: Ie4b6170db670e3284d6bd069a13d4a6468507c76 --- manifests/init.pp | 3 +++ metadata.json | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index d7340fc..f9dfb89 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -9,6 +9,9 @@ # class mosquitto ( ) { + # TODO: can drop this PPA once the service is running on Ubuntu 18.04 + apt::ppa { 'ppa:mosquitto-dev/mosquitto-ppa': } + package {'mosquitto': ensure => present, } diff --git a/metadata.json b/metadata.json index df72da9..1cf7006 100644 --- a/metadata.json +++ b/metadata.json @@ -27,6 +27,7 @@ } ], "dependencies": [ - { "name": "puppetlabs/stdlib", "version_requirement": ">= 4.0.0 <5.0.0" } + { "name": "puppetlabs/stdlib", "version_requirement": ">= 4.0.0 <5.0.0" }, + { "name": "puppetlabs/apt", "version_requirement": ">= 2.3.0 <3.0.0" } ] }