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

[TASK] Create both configuration directories for TYPO3 12+ support

parent 56350ca1
No related branches found
No related tags found
No related merge requests found
......@@ -636,21 +636,37 @@ if node['normal_site']['configure_typo3']
action :create
end
directory "#{node['normal_site']['webroot']}/#{base_hostname}/#{node['normal_site']['web_directory']}/config/system/" do
mode '0755'
action :create
end
template "#{node['normal_site']['webroot']}/#{base_hostname}/#{node['normal_site']['web_directory']}/typo3conf/SiteConfiguration.php" do
source 'typo3/SiteConfiguration.php.erb'
mode '0660'
end
template "#{node['normal_site']['webroot']}/#{base_hostname}/.env.local" do
source 'typo3/env.local.erb'
template "#{node['normal_site']['webroot']}/#{base_hostname}/#{node['normal_site']['web_directory']}/typo3conf/AdditionalConfiguration.php" do
source 'typo3/AdditionalConfiguration.php'
mode '0660'
action :create_if_missing
end
template "#{node['normal_site']['webroot']}/#{base_hostname}/#{node['normal_site']['web_directory']}/typo3conf/AdditionalConfiguration.php" do
template "#{node['normal_site']['webroot']}/#{base_hostname}/#{node['normal_site']['web_directory']}/config/system/SiteConfiguration.php" do
source 'typo3/SiteConfiguration.php.erb'
mode '0660'
end
template "#{node['normal_site']['webroot']}/#{base_hostname}/#{node['normal_site']['web_directory']}/config/system/AdditionalConfiguration.php" do
source 'typo3/AdditionalConfiguration.php'
mode '0660'
action :create_if_missing
end
template "#{node['normal_site']['webroot']}/#{base_hostname}/.env.local" do
source 'typo3/env.local.erb'
mode '0660'
end
end
####################################################
......
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