From cb8d1c805cf11324c56588156b0c897c9c965397 Mon Sep 17 00:00:00 2001
From: Clark Boylan <clark.boylan@gmail.com>
Date: Wed, 25 Jun 2014 10:24:30 -0700
Subject: [PATCH] Install curl when logstash watchdog is used.

The logstash watchdog depends on curl and assumed that curl would just
be available. Not all cloud images are created equal and come with curl.
Be explicit about the need for curl and install it with puppet in the
watchdog manifest.

Change-Id: If90cae9a64b9f48f04b5643b643d2c83650c7d86
---
 modules/logstash/manifests/watchdog.pp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/logstash/manifests/watchdog.pp b/modules/logstash/manifests/watchdog.pp
index 993b7e5925..ff61a0553c 100644
--- a/modules/logstash/manifests/watchdog.pp
+++ b/modules/logstash/manifests/watchdog.pp
@@ -22,6 +22,9 @@ class logstash::watchdog (
   package { 'jq':
     ensure => present,
   }
+  package { 'curl':
+    ensure => present,
+  }
 
   file { '/usr/local/bin/logstash-watchdog':
     ensure  => present,