Added OpenWrt (19676) ps detection and unit test for ps fact
Merge branch 'pull-412' into 1.7.x
(19873) Add OS major release fact

On RHEL clones and Debian (Amazon, CentOS, CloudLinux, Debian, Fedora,
OEL, OracleLinux, OVS, RedHat, Scientific, SLC) it would be useful to
pull out the major release version

ie 5.8=>5, 6.3=>6, 6.0.3=>6

This is available as the lsbmajdistrelease but there are too many
dependencies on LSB for minimal installs
Merge branch 'pull-411' into 1.7.x
(#19845) Allow a block to be supplied as a confine

Allows a confine to take only a block parameter like:

confine { File.exist? '/bin/foo' }

Or take a fact name and a block:

confine :ipaddress do |addr|
  require 'ipaddr'
  IPAddr.new('192.168.0.0/16').include? addr
end

This is similar to what Puppet allows in provider confines.