diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-07-22 20:03:12 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-07-22 20:03:12 -0400 |
commit | 8d3d4e45e27f9b8d12fcc6139cbec959cfc3aedc (patch) | |
tree | 90977c89c9dec2f4cd45fabaea379980d39d2082 /modules/mail/manifests | |
parent | 151ba4b71bc5ea7b79c39a3008ae5b1f7c9cd136 (diff) | |
download | puppet-tozt-8d3d4e45e27f9b8d12fcc6139cbec959cfc3aedc.tar.gz puppet-tozt-8d3d4e45e27f9b8d12fcc6139cbec959cfc3aedc.zip |
use podman for mailu too
Diffstat (limited to 'modules/mail/manifests')
-rw-r--r-- | modules/mail/manifests/mailu.pp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/mail/manifests/mailu.pp b/modules/mail/manifests/mailu.pp index 169b9d9..f15006c 100644 --- a/modules/mail/manifests/mailu.pp +++ b/modules/mail/manifests/mailu.pp @@ -1,6 +1,6 @@ class mail::mailu { include mail::persistent - include docker + include podman::compose package { "opendkim": ensure => installed; @@ -92,12 +92,15 @@ class mail::mailu { } exec { "compile sieve scripts": - command => "/usr/bin/docker-compose exec -T -u mail imap sievec /overrides/sieve/filters.sieve", + command => "/usr/bin/podman-compose exec -T -u mail imap sievec /overrides/sieve/filters.sieve", cwd => "/media/persistent", refreshonly => true, tries => 12, try_sleep => 15, - require => Service["mailu"]; + require => [ + Package::Makepkg['podman-compose-git'], + Service["mailu"], + ]; } systemd::service { "mailu": |