rjw1/attachmentgenie-ufw — pull request #1 by rjw1 (2014-08-30 12:00:50+00:00)
Title: Support ipv6 output from ufw status.

The output from ufw status for an ipv6 from any rule adds `(v6)` to the end of
the line
```
$ sudo ufw status
Status: active

To Action From
-- ------ ----
22/tcp ALLOW Anywhere
22/tcp ALLOW Anywhere (v6)
```

This causes an ipv6 from any rule to be execed on each puppet run.

This commit works out if the ip provided is ipv6 or not and then changes
the regex for the unless.