From: Peter Palfrader Date: Sun, 24 Feb 2013 16:14:14 +0000 (+0100) Subject: Make it work with wheezy ruby X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=1710a1225b39acf0c7ed226aac924abcc79f4433;p=mirror%2Fdsa-nagios.git Make it work with wheezy ruby --- 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