Mercurial > repos > other > Puppet
comparison manifests/templates.pp @ 125:ca711ab45f17 puppet-3.6
Schedule Postwhite to run regularly
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 13 Sep 2016 20:53:16 +0100 |
parents | 033282abfc28 |
children | 8316d4e55e92 |
comparison
equal
deleted
inserted
replaced
124:db809398167a | 125:ca711ab45f17 |
---|---|
647 } | 647 } |
648 Package<| tag == 'av' |> -> File<| tag == 'av' |> | 648 Package<| tag == 'av' |> -> File<| tag == 'av' |> |
649 File<| tag == 'av' |> { | 649 File<| tag == 'av' |> { |
650 notify => Service['amavisd'], | 650 notify => Service['amavisd'], |
651 } | 651 } |
652 cron { 'Postwhite': | |
653 command => "/usr/local/bin/postwhite", | |
654 user => 'root', | |
655 weekday => 0, | |
656 } | |
652 } | 657 } |
653 | 658 |
654 class cronjobs { | 659 class cronjobs { |
655 # Add Mutt for scripts that send emails, but stop it clogging the disk by keeping copies of emails | 660 # Add Mutt for scripts that send emails, but stop it clogging the disk by keeping copies of emails |
656 package { 'mutt': | 661 package { 'mutt': |