Commit 03a74b630783b74b8b66d009be9743d18bf8e249
1 parent
132e019c
Exists in
master
and in
21 other branches
Fixes chef syntax.
Signed-off-by: Daniel Damasceno <danielhmarinho@gmail.com>
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
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 | ... | ... |