Commit 3565a4d0e3ca3f54f3fb762a3a14040f2849bcd2

Authored by Sergio Oliveira
2 parents 6b8bbe03 a5c2805c

Merge branch 'mailman_chef' into 'master'

Mailman chef

Added mailman cron that check and fix permissions
cookbooks/mailman/files/centos/mailman-spb 0 → 100644
... ... @@ -0,0 +1 @@
  1 +* * * * * root /usr/lib/mailman/bin/check_perms -f
... ...
cookbooks/mailman/recipes/default.rb
... ... @@ -77,6 +77,12 @@ execute 'selinux-postfix-mailman' do
77 77 end
78 78 #######################################################################
79 79  
  80 +cookbook_file '/etc/cron.d/mailman-spb' do
  81 + owner 'root'
  82 + group 'root'
  83 + mode 0644
  84 +end
  85 +
80 86 cookbook_file '/etc/postfix/master.cf' do
81 87 notifies :reload, 'service[postfix]'
82 88 end
... ...