summaryrefslogtreecommitdiffstats
path: root/manifests
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-03-19 05:07:07 -0400
committerJesse Luehrs <doy@tozt.net>2019-03-19 05:07:07 -0400
commit8285609c3484774f58be61189b05859c10464567 (patch)
tree3848dea56b4a7dfd606bb8bddfe8a2246ba35d4d /manifests
parent0bbfc6e44596b3f269d83aa0118dab4b1f05c8ad (diff)
downloadpuppet-tozt-8285609c3484774f58be61189b05859c10464567.tar.gz
puppet-tozt-8285609c3484774f58be61189b05859c10464567.zip
only pull docker images on mail
Diffstat (limited to 'manifests')
-rw-r--r--manifests/mail.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/manifests/mail.pp b/manifests/mail.pp
index 1f5adf7..15063cf 100644
--- a/manifests/mail.pp
+++ b/manifests/mail.pp
@@ -3,7 +3,11 @@ node 'mail', 'mail.localdomain' {
include mail::persistent
Class['mail::persistent'] -> Class['base']
- include base
+ class { 'base':
+ extra_script => "
+ (cd /media/persistent && sudo docker-compose pull -q)
+ ";
+ }
include mail::operatingsystem
Class['mail::operatingsystem'] -> Package<| provider == "pacman" |>