GitHub PushEvent at 2014-10-29 15:45:42
Repository: openssh
Actor: juliandunn
Payload: {"shas":[["ed0cb56d476943abaa59d22704236134b4d5c481","d6955d9721560531274cb8f50ff595a9bd39d66f@opscode.com","Pass the port as a variable to the iptables template.\n\nThe `iptables_rule` definition can take a `variables` parameter. This\nallows us to improve the logic for sending the correct port to\niptables.\n\nSince the node's openssh attributes can be manipulated by end users,\nwe can't necessarily assume that `node['openssh']['server']['port']`\nwill return true, or that it won't have an exception on nil. Instead,\ndetermine that we do in fact have the openssh \"server\" attribute AND\nthat it has a \"port\" attribute, using the predicate `#attribute?`\nmethod. We can fallback to port 22 (and do) in this conditional.\n\nAdd ChefSpec unit tests for iptables recipe.\n\nAlso updates the Berksfile to use supermarket explicitly.","jtimberman",true]],"size":1,"ref":"refs/heads/master","head":"ed0cb56d476943abaa59d22704236134b4d5c481"}