add centos support for port

This commit is contained in:
Christoph Hartmann 2015-11-16 20:32:43 +01:00
parent 6b2d4e2306
commit 83e6f46724

View file

@ -24,7 +24,7 @@ class Port < Inspec.resource(1)
@cache = nil
case inspec.os[:family]
when 'ubuntu', 'debian', 'redhat', 'fedora', 'arch'
when 'ubuntu', 'debian', 'redhat', 'fedora', 'centos', 'arch'
@port_manager = LinuxPorts.new(inspec)
when 'darwin'
@port_manager = DarwinPorts.new(inspec)