opscode-cookbooks/fail2ban — pull request #25 by rchekaluk (2014-10-22 12:45:14+00:00)
Title: Allow jail actions of either format

Although the [fail2ban documentation](http://www.fail2ban.org/wiki/index.php/MANUAL_0_8#Actions) is rather light, I've empirically determined that jail actions can have either of two forms:
1. Traditional actions, like:```action = iptables-multiport```
2. [Action shortcuts](https://github.com/fail2ban/fail2ban/blob/master/config/jail.conf#L145-170), like:```action = %(action_mw)s```

However, this cookbook presumes that all actions will be action shortcuts. This pull request generalizes slightly and permits either form. Action shortcuts are detected by the presence of "action_" in the action.