# Returns true or false depending on if the OpenBSD# packet filter is running or notFacter.add("pf_running") do setcode do (%x{/sbin/pfctl -si}.chomp =~ /^status.+enabled/i) ? "running" : "stopped" endend