#
# Cookbook Name:: nagios-xi
# Recipe:: default
#
# Copyright 2012, Webtrends Inc
#
# All rights reserved - Do Not Redistribute
#

#Install the prereqs for Nagios XI

if node.platform == "centos" 

%w["php-ldap" "procmail" ].each do |svc|
		package pkg do 
			action :install
		end
	end

end
#
# Cookbook Name:: nagios-xi
# Recipe:: default
#
# Copyright 2012, Webtrends Inc
#
# All rights reserved - Do Not Redistribute
#

#Install the prereqs for Nagios XI

if node.platform == "centos" 

	["php-ldap" "procmail" ].each do |svc|
		package pkg do 
			action :install
		end
	end

end
--- 
+++ 
@@ -11,7 +11,7 @@
 
 if node.platform == "centos" 
 
-	["php-ldap" "procmail" ].each do |svc|
+%w["php-ldap" "procmail" ].each do |svc|
 		package pkg do 
 			action :install
 		end
Fix some bad ruby in the nagios-xi recipe


Former-commit-id: 1df14a0d4506b057f5752c08d6fe1d390d7ce392 [formerly 16cc13ed1fbd5ca596c7b468ad9858b542dc388e] [formerly 6eb599da4a86545f6a3091e77893bfa2854e1d3d [formerly 723a5bd5231be7759e2cb22cd73f0db281492175]]
Former-commit-id: 10f8d17d133b68fa1c3fa352ec800e7b7a4d5302 [formerly 79ec7d11dcc28f923a4b0385998b06c8c6cc4535]
Former-commit-id: a26874d2d32572cd243d9ed2640cc722d6d13935