Commit e2841281 authored by Stefan Galinski's avatar Stefan Galinski 🎮
Browse files

[TASK] Create an own certificate for webgrind

parent 51d07bc5
...@@ -47,10 +47,17 @@ end ...@@ -47,10 +47,17 @@ end
### Setup Configuration ### ### Setup Configuration ###
########################### ###########################
# create ssl certificate (requires that typo3_site (or a kind of) was executed before this script)
bash 'Create Certificate' do
cwd '/etc/apache2/ssl/'
code <<-EOF
./create_certificate_for_domain.sh #{node['webgrind']['hostname']}
EOF
action :run
end
template node['webgrind']['install_path'] + '/webgrind.config.php.erb' do template node['webgrind']['install_path'] + '/webgrind.config.php.erb' do
source 'webgrind.config.php.erb' source 'webgrind.config.php.erb'
owner 'root'
group 'root'
mode '0644' mode '0644'
variables( variables(
:params => node['webgrind'] :params => node['webgrind']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment