Closed rjw1 closed 10 years ago
The output from ufw status for an ipv6 from any rule adds (v6) to the end of the line
(v6)
$ 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.
closing while i fix the other classes as well
The output from ufw status for an ipv6 from any rule adds
(v6)
to the end of the lineThis 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.