Tom Haddon has proposed merging ~mthaddon/nagios-charm/+git/trunk:master into 
nagios-charm:master.

Requested reviews:
  Nagios Charm developers (nagios-charmers)
Related bugs:
  Bug #1718833 in Nagios Charm: "pagerduty integration needs 
HTTP::Request::Common module"
  https://bugs.launchpad.net/nagios-charm/+bug/1718833

For more details, see:
https://code.launchpad.net/~mthaddon/nagios-charm/+git/trunk/+merge/331366

pagerduty requires the libhttp-parser-perl package lp#1718833
-- 
Your team Nagios Charm developers is requested to review the proposed merge of 
~mthaddon/nagios-charm/+git/trunk:master into nagios-charm:master.
diff --git a/hooks/upgrade-charm b/hooks/upgrade-charm
index 64b7e1d..89044f8 100755
--- a/hooks/upgrade-charm
+++ b/hooks/upgrade-charm
@@ -112,6 +112,8 @@ def enable_livestatus_config():
 def enable_pagerduty_config():
     if enable_pagerduty:
         hookenv.log("Pagerduty is enabled")
+        fetch.apt_update()
+        fetch.apt_install('libhttp-parser-perl')
 
         # Ship the pagerduty_nagios.cfg file
         template_values = {'enable_pagerduty': enable_pagerduty,
-- 
Mailing list: https://launchpad.net/~nagios-charmers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~nagios-charmers
More help   : https://help.launchpad.net/ListHelp

Reply via email to