[icinga-checkins] icinga.org: chef-icinga2/master: Fix rubocop offenses - Missing spaces

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


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

Author: Thomas Peitz <thomas.peitz at invision.de>
Date:   Wed Jun  1 13:48:01 2016 +0200

Fix rubocop offenses - Missing spaces

---

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

diff --git a/libraries/provider_environment.rb b/libraries/provider_environment.rb
index 1ecadc1..9c95161 100644
--- a/libraries/provider_environment.rb
+++ b/libraries/provider_environment.rb
@@ -147,7 +147,7 @@ class Chef
 
       def create_endpoints(env_resources)
         nodes = env_resources['nodes']
-        env_endpoints = nodes.map {|n| n[1]['fqdn'] }
+        env_endpoints = nodes.map { |n| n[1]['fqdn'] }
 
         endpoint_template = icinga2_envendpoint new_resource.environment do
           endpoints env_endpoints
@@ -161,7 +161,7 @@ class Chef
 
       def create_zones(env_resources)
         nodes = env_resources['nodes']
-        env_zones = nodes.map {|n| n[1]['fqdn'] }
+        env_zones = nodes.map { |n| n[1]['fqdn'] }
 
         zone_template = icinga2_envzone new_resource.environment do
           zones env_zones



More information about the icinga-checkins mailing list