From 1710a1225b39acf0c7ed226aac924abcc79f4433 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Sun, 24 Feb 2013 17:14:14 +0100 Subject: [PATCH] Make it work with wheezy ruby --- config/build-nagios | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/build-nagios b/config/build-nagios index a940b87..5e41e05 100755 --- a/config/build-nagios +++ b/config/build-nagios @@ -380,6 +380,8 @@ config['services'].each{ |service| split_away_extinfo service + # make sure the depends list is an array + service['depends'] = ensure_array( service['depends'] ) # Both 'name' and 'service_description' are valid for a service's name # Internally we only use service_description as that's nagios' official term -- 2.20.1