Commit 3565a4d0e3ca3f54f3fb762a3a14040f2849bcd2
Exists in
master
and in
90 other branches
Merge branch 'mailman_chef' into 'master'
Mailman chef Added mailman cron that check and fix permissions
Showing
2 changed files
with
7 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1 @@ | @@ -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,6 +77,12 @@ execute 'selinux-postfix-mailman' do | ||
| 77 | end | 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 | cookbook_file '/etc/postfix/master.cf' do | 86 | cookbook_file '/etc/postfix/master.cf' do |
| 81 | notifies :reload, 'service[postfix]' | 87 | notifies :reload, 'service[postfix]' |
| 82 | end | 88 | end |