Commit 132e019c3a6db27b5f9525d6cbb391d3fffaf5b9
1 parent
587da560
Exists in
master
and in
22 other branches
Fixs email check.
- Removes unecessary variable from prod's config.yaml
Showing
2 changed files
with
2 additions
and
4 deletions
Show diff stats
config/prod/config.yaml
cookbooks/mailman/recipes/default.rb
| ... | ... | @@ -85,12 +85,12 @@ end |
| 85 | 85 | |
| 86 | 86 | execute 'postfix:disable-send-emails' do |
| 87 | 87 | command "postconf 'default_transport = fs_mail'" |
| 88 | - only_if "#{node['config']['disable_send_emails']}" | |
| 88 | + only_if node['config']['disable_send_emails'] | |
| 89 | 89 | end |
| 90 | 90 | |
| 91 | 91 | execute 'postfix:enable-send-emails' do |
| 92 | 92 | command "postconf 'default_transport = smtp'" |
| 93 | - not_if "#{node['config']['disable_send_emails']}" | |
| 93 | + not_if node['config']['disable_send_emails'] | |
| 94 | 94 | end |
| 95 | 95 | |
| 96 | 96 | cookbook_file '/etc/postfix/master.cf' do | ... | ... |