| Index: modules/private-stub/hiera/hosts/web2.yaml |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/modules/private-stub/hiera/hosts/web2.yaml |
| @@ -0,0 +1,15 @@ |
| +classes: |
| + fail2ban: |
| + package: |
| + ensure: present |
| + jails: |
| + CVE20130235: |
| + filter: CVE20130235 |
| + logpath: '/var/log/nginx/access_log_hg' |
|
f.nicolaisen
2017/01/12 14:28:14
vagrant@web2:~$ less /var/log/nginx/access_log_hg
|
| + banaction: 'iptables-multiport' |
| + port: 'http,https' |
| + filters: |
| + CVE20130235: |
| + regexes: |
| + - '^<HOST>.*\"WordPress\/.*' |
| + |