[icinga-checkins] icinga.org: chef-icinga2/master: fix default[icinga2][plugins_dir] value

git at icinga.org git at icinga.org
Sat Jul 16 19:49:37 CEST 2016


Module: chef-icinga2
Branch: master
Commit: db6f4f2842e17378c77e2abb2ceeae1c99ecd111
URL:    https://git.icinga.org/?p=chef-icinga2.git;a=commit;h=db6f4f2842e17378c77e2abb2ceeae1c99ecd111

Author: Virender Khatri <vir.khatri at gmail.com>
Date:   Sat Jul 16 23:30:47 2016 +0530

fix default[icinga2][plugins_dir] value

---

 attributes/default.rb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/attributes/default.rb b/attributes/default.rb
index 7365256..d555c09 100644
--- a/attributes/default.rb
+++ b/attributes/default.rb
@@ -73,9 +73,9 @@ when 'rhel'
   default['icinga2']['service_config_file'] = '/etc/sysconfig/icinga2'
 
   default['icinga2']['plugins_dir'] = if node['kernel']['machine'] == 'x86_64'
-                                        '/usr/lib/nagios/plugins'
-                                      else
                                         '/usr/lib64/nagios/plugins'
+                                      else
+                                        '/usr/lib/nagios/plugins'
                                       end
 
 when 'debian'



More information about the icinga-checkins mailing list