Skip to content

Commit 64798ae

Browse files
committed
Fix exim daemon options for Ubuntu
1 parent 1b4c23b commit 64798ae

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
source "https://rubygems.org"
22

33
gem "cookstyle"
4+
gem "erb_lint"
45
gem "kitchen-dokken"
56
gem "kitchen-inspec"
67
gem "test-kitchen"

Gemfile.lock

+37
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4+
actionview (7.0.7.2)
5+
activesupport (= 7.0.7.2)
6+
builder (~> 3.1)
7+
erubi (~> 1.4)
8+
rails-dom-testing (~> 2.0)
9+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
410
activesupport (7.0.7.2)
511
concurrent-ruby (~> 1.0, >= 1.0.2)
612
i18n (>= 1.6, < 2)
@@ -256,6 +262,13 @@ GEM
256262
azure_mgmt_storage (0.23.0)
257263
ms_rest_azure (~> 0.12.0)
258264
bcrypt_pbkdf (1.1.0)
265+
better_html (2.1.0)
266+
actionview (>= 6.0)
267+
activesupport (>= 6.0)
268+
ast (~> 2.0)
269+
erubi (~> 1.4)
270+
parser (>= 2.4)
271+
smart_properties
259272
bson (4.15.0)
260273
builder (3.2.4)
261274
chef-config (18.2.7)
@@ -274,6 +287,7 @@ GEM
274287
concurrent-ruby (1.2.2)
275288
cookstyle (7.32.8)
276289
rubocop (= 1.25.1)
290+
crass (1.0.6)
277291
declarative (0.0.20)
278292
diff-lcs (1.5.0)
279293
docker-api (2.2.0)
@@ -282,6 +296,13 @@ GEM
282296
domain_name (0.5.20190701)
283297
unf (>= 0.0.5, < 1.0.0)
284298
ed25519 (1.3.0)
299+
erb_lint (0.5.0)
300+
activesupport
301+
better_html (>= 2.0.1)
302+
parser (>= 2.7.1.4)
303+
rainbow
304+
rubocop
305+
smart_properties
285306
erubi (1.12.0)
286307
excon (0.105.0)
287308
faraday (1.10.3)
@@ -400,9 +421,13 @@ GEM
400421
logging (2.3.1)
401422
little-plugger (~> 1.1)
402423
multi_json (~> 1.14)
424+
loofah (2.22.0)
425+
crass (~> 1.0.2)
426+
nokogiri (>= 1.12.0)
403427
memoist (0.16.2)
404428
method_source (1.0.0)
405429
mini_mime (1.1.5)
430+
mini_portile2 (2.8.5)
406431
minitest (5.19.0)
407432
mixlib-config (3.0.27)
408433
tomlrb
@@ -432,6 +457,9 @@ GEM
432457
net-ssh (7.2.0)
433458
net-ssh-gateway (2.0.0)
434459
net-ssh (>= 4.0.0)
460+
nokogiri (1.16.2)
461+
mini_portile2 (~> 2.8.2)
462+
racc (~> 1.4)
435463
nori (2.6.0)
436464
options (2.3.2)
437465
os (1.1.4)
@@ -450,6 +478,13 @@ GEM
450478
method_source (~> 1.0)
451479
public_suffix (5.0.3)
452480
racc (1.7.3)
481+
rails-dom-testing (2.2.0)
482+
activesupport (>= 5.0.0)
483+
minitest
484+
nokogiri (>= 1.6)
485+
rails-html-sanitizer (1.6.0)
486+
loofah (~> 2.21)
487+
nokogiri (~> 1.14)
453488
rainbow (3.1.1)
454489
rake (13.0.6)
455490
regexp_parser (2.9.0)
@@ -496,6 +531,7 @@ GEM
496531
faraday (>= 0.17.5, < 3.a)
497532
jwt (>= 1.5, < 3.0)
498533
multi_json (~> 1.10)
534+
smart_properties (1.17.0)
499535
sslshake (1.3.1)
500536
strings (0.2.1)
501537
strings-ansi (~> 0.2)
@@ -673,6 +709,7 @@ PLATFORMS
673709

674710
DEPENDENCIES
675711
cookstyle
712+
erb_lint
676713
kitchen-dokken
677714
kitchen-inspec
678715
test-kitchen

cookbooks/exim/templates/default/default.erb

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# DO NOT EDIT - This file is being maintained by Chef
22

3+
<% if node.platform?("ubuntu") && node[:lsb][:release].to_f >= 22.04 -%>
4+
# options for update-exim4.conf
5+
UPEX4OPTS=''
6+
# options for exim4
7+
EXIMSERVICE='-bdf -q30ms'
8+
<% else -%>
39
# 'combined' - one daemon running queue and listening on SMTP port
410
# 'no' - no daemon running the queue
511
# 'separate' - two separate daemons
@@ -19,5 +25,6 @@ QUEUERUNNEROPTIONS=''
1925
QFLAGS=''
2026
# options for daemon listening on port 25
2127
SMTPLISTENEROPTIONS=''
28+
<% end -%>
2229
# only warn once about each error
2330
E4BCD_WATCH_PANICLOG='once'

0 commit comments

Comments
 (0)