#
# Cookbook Name:: fail2ban
# Attributes:: default
#
# Copyright 2010, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# fail2ban.conf configuration options
default['fail2ban']['loglevel'] = 3
default['fail2ban']['socket'] = "/tmp/fail2ban.sock"
default['fail2ban']['logtarget'] = "/var/log/fail2ban.log"

# These values will only be printed to fail2ban.conf
# if node['fail2ban']['logtarget'] is set to 'SYSLOG'
default['fail2ban']['syslog_target'] = "/var/log/fail2ban.log"
default['fail2ban']['syslog_facility'] = "1"

# jail.conf configuration options
default['fail2ban']['bantime'] = 300
default['fail2ban']['maxretry'] = 5
default['fail2ban']['email'] = 'root@localhost'
default['fail2ban']['backend'] = 'polling'

#
# Cookbook Name:: fail2ban
# Attributes:: default
#
# Copyright 2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# fail2ban.conf configuration options
default['fail2ban']['loglevel'] = 3
default['fail2ban']['socket'] = "/var/run/fail2ban/fail2ban.sock"
default['fail2ban']['logtarget'] = "/var/log/fail2ban.log"

# These values will only be printed to fail2ban.conf
# if node['fail2ban']['logtarget'] is set to 'SYSLOG'
default['fail2ban']['syslog_target'] = "/var/log/fail2ban.log"
default['fail2ban']['syslog_facility'] = "1"

# jail.conf configuration options
default['fail2ban']['bantime'] = 300
default['fail2ban']['maxretry'] = 5
default['fail2ban']['email'] = 'root@localhost'
default['fail2ban']['backend'] = 'polling'

Update the socket attribute to the correct location
Update the socket attribute to the correct location
