diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-03-26 13:38:51 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-03-26 13:38:51 -0400 |
commit | 1057960b6c76cb319e9a6eba547bb76361b8cc7e (patch) | |
tree | e08c6980f18e41f746d97c11c54cc4daa0ad17da /manifests/mail.pp | |
parent | e12c25531059a087890e8a28db38c6d8fe12a355 (diff) | |
download | puppet-tozt-1057960b6c76cb319e9a6eba547bb76361b8cc7e.tar.gz puppet-tozt-1057960b6c76cb319e9a6eba547bb76361b8cc7e.zip |
let's try actually using hiera
Diffstat (limited to 'manifests/mail.pp')
-rw-r--r-- | manifests/mail.pp | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp index 15063cf..24bcc1b 100644 --- a/manifests/mail.pp +++ b/manifests/mail.pp @@ -1,16 +1,9 @@ node 'mail', 'mail.localdomain' { - $persistent_data = '/media/persistent' - include mail::persistent - Class['mail::persistent'] -> Class['base'] - - class { 'base': - extra_script => " - (cd /media/persistent && sudo docker-compose pull -q) - "; - } - + include base include mail::operatingsystem + include mail::persistent Class['mail::operatingsystem'] -> Package<| provider == "pacman" |> + Class['mail::persistent'] -> Class['base'] include mail::backups include mail::mailu |