Skip to content
Snippets Groups Projects
Commit b15aacee authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Readd ssh wrapper script for git

parent 56ed972d
No related branches found
No related tags found
No related merge requests found
...@@ -159,6 +159,13 @@ end ...@@ -159,6 +159,13 @@ end
### Provide Sources ### ### Provide Sources ###
####################### #######################
file '/home/vagrant/ssh_wrapper.sh' do
owner 'vagrant'
group 'vagrant'
mode '0755'
content "#!/bin/sh\nexec /usr/bin/ssh -o \"StrictHostKeyChecking=no\" \"$@\""
end
if node['typo3_site']['repository'] != '' if node['typo3_site']['repository'] != ''
ssh_known_hosts_entry node['typo3_site']['repository_hostname'] do ssh_known_hosts_entry node['typo3_site']['repository_hostname'] do
port node['typo3_site']['repository_port'] port node['typo3_site']['repository_port']
...@@ -173,6 +180,7 @@ if node['typo3_site']['repository'] != '' ...@@ -173,6 +180,7 @@ if node['typo3_site']['repository'] != ''
user 'vagrant' user 'vagrant'
group 'vagrant' group 'vagrant'
action :checkout action :checkout
ssh_wrapper '/home/vagrant/ssh_wrapper.sh'
end end
end end
...@@ -269,7 +277,7 @@ template "#{node['typo3_site']['webroot']}/#{node['typo3_site']['hostname']}/typ ...@@ -269,7 +277,7 @@ template "#{node['typo3_site']['webroot']}/#{node['typo3_site']['hostname']}/typ
end end
template "#{node['typo3_site']['webroot']}/#{node['typo3_site']['hostname']}/typo3conf/AdditionalConfiguration.php" do template "#{node['typo3_site']['webroot']}/#{node['typo3_site']['hostname']}/typo3conf/AdditionalConfiguration.php" do
source 'AdditionalConfiguration.php.erb' source 'AdditionalConfiguration.php'
owner 'vagrant' owner 'vagrant'
mode '0660' mode '0660'
action :create_if_missing action :create_if_missing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment