Confine NGINX version fact to exclude Cisco Nexus
Confine NGINX version fact to exclude Cisco Nexus

Cisco Nexus Switches may run older version of NGINX
internally in which the command 'nginx -v' disables
the nxapi socket (deletes sock file) on second or
later runs.  Tested on CIsco NXOS 9k. Refactor ruby
fact moving kernel/OS to confine block as well.

icann-dns/puppet-nginx,hbog/puppet-nginx,voxpupuli/puppet-nginx,jfryman/puppet-nginx,icann-dns/puppet-nginx,raphink/puppet-nginx,hbog/puppet-nginx,jfryman/puppet-nginx,voxpupuli/puppet-nginx