projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d27360
)
Don't use only_if on firewall_rule as it's a definition
author
Tom Hughes
<tom@compton.nu>
Tue, 10 Feb 2015 10:16:15 +0000
(10:16 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 10 Feb 2015 10:16:15 +0000
(10:16 +0000)
cookbooks/exim/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/exim/recipes/default.rb
b/cookbooks/exim/recipes/default.rb
index 099e047c6cc1b821a8f13816a53455aeae3ef291..1bbd084ee5cd0319f98340efb28320cde7ed0c25 100644
(file)
--- a/
cookbooks/exim/recipes/default.rb
+++ b/
cookbooks/exim/recipes/default.rb
@@
-144,11
+144,12
@@
else
end
end
-firewall_rule "deny-outbound-smtp" do
- action :reject
- source "fw"
- dest "net"
- proto "tcp:syn"
- dest_ports "smtp"
- only_if { node[:exim][:smarthost_via] }
+if node[:exim][:smarthost_via] # ~FC023
+ firewall_rule "deny-outbound-smtp" do
+ action :reject
+ source "fw"
+ dest "net"
+ proto "tcp:syn"
+ dest_ports "smtp"
+ end
end