[icinga-checkins] icinga.org: chef-icinga2/master: Fix rubocop offense in server_classic_ui

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


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

Author: Thomas Peitz <thomas.peitz at invision.de>
Date:   Thu Jun 16 11:20:17 2016 +0200

Fix rubocop offense in server_classic_ui

---

 attributes/server_classic_ui.rb |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/attributes/server_classic_ui.rb b/attributes/server_classic_ui.rb
index e285794..1a31460 100644
--- a/attributes/server_classic_ui.rb
+++ b/attributes/server_classic_ui.rb
@@ -7,11 +7,7 @@ default['icinga2']['classic_ui']['apache_conf'] = value_for_platform(
   %w(debian ubuntu) => { 'default' => 'icinga2-classicui' }
 )
 
-if node['platform_family'] == 'debian'
-  default['icinga2']['classic_ui']['version'] = '2.4.1-1'
-else
-  default['icinga2']['classic_ui']['version'] = '2.4.1-1'
-end
+default['icinga2']['classic_ui']['version'] = '2.4.1-1'
 
 default['icinga2']['classic_ui']['gui_version'] = '1.13.3-0'
 default['icinga2']['classic_ui']['web_root'] = value_for_platform(



More information about the icinga-checkins mailing list