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

[TASK] Add support for mailpit

parent bcfed69d
No related branches found
No related tags found
No related merge requests found
......@@ -366,6 +366,12 @@ else
additional_domains = additional_domains + ' mailhog.' + base_hostname
end
if node.include?('mailpit') && node['mailpit'].include?('hostname') && node['mailpit']['hostname']
additional_domains = additional_domains + ' ' + node['mailpit']['hostname']
else
additional_domains = additional_domains + ' mailpit.' + base_hostname
end
# Add the additional vhosts to the additional_domains...
node['normal_site']['create_additional_vhosts'].each do |vhost|
if vhost['hostname']
......
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