From 5650cb6e4869b1e980e2d98c6452715cab73176a Mon Sep 17 00:00:00 2001
From: Stefan Galinski <stefan@sgalinski.de>
Date: Wed, 3 Aug 2016 16:51:59 +0200
Subject: [PATCH] [BUGFIX] Fix syntax error.. thanks foodcritic

---
 recipes/default.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes/default.rb b/recipes/default.rb
index a305ae2..adb1dde 100644
--- a/recipes/default.rb
+++ b/recipes/default.rb
@@ -342,7 +342,8 @@ end
 #########################
 
 node['typo3_site']['sync_directories'].each do |sync_data|
-	ssh_known_hosts_entry "Add host to known hosts:  #{sync_data['hostname']}" do
+	# don't fix this. This must look exactly like this! Foodcritic is not correct here!
+	ssh_known_hosts_entry sync_data['hostname'] do
 		port sync_data['port']
 		only_if { sync_data['hostname'] }
 	end
-- 
GitLab