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

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


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

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

Fix rubocop offense in default attribute

---

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

diff --git a/attributes/default.rb b/attributes/default.rb
index 03582fa..17df430 100644
--- a/attributes/default.rb
+++ b/attributes/default.rb
@@ -1,10 +1,6 @@
 # http://docs.icinga.org/icinga2/latest/doc/module/icinga2/chapter/getting-started#getting-started
 
-if node['platform_family'] == 'debian'
-  default['icinga2']['version'] = '2.4.1-1'
-else
-  default['icinga2']['version'] = '2.4.1-1'
-end
+default['icinga2']['version'] = '2.4.1-1'
 
 default['icinga2']['ignore_version'] = false
 default['icinga2']['cookbook'] = 'icinga2'



More information about the icinga-checkins mailing list