projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2cebc
)
Make it work with wheezy ruby
author
Peter Palfrader
<peter@palfrader.org>
Sun, 24 Feb 2013 16:14:14 +0000
(17:14 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 24 Feb 2013 16:14:14 +0000
(17:14 +0100)
config/build-nagios
patch
|
blob
|
history
diff --git
a/config/build-nagios
b/config/build-nagios
index
a940b87
..
5e41e05
100755
(executable)
--- 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