lib/resources/bridge.rb in inspec-1.51.25 vs lib/resources/bridge.rb in inspec-2.0.16
- old
+ new
@@ -1,17 +1,16 @@
# encoding: utf-8
-# author: Christoph Hartmann
-# author: Dominik Richter
# Usage:
# describe bridge('br0') do
# it { should exist }
# it { should have_interface 'eth0' }
# end
module Inspec::Resources
class Bridge < Inspec.resource(1)
name 'bridge'
+ supports platform: 'unix'
desc 'Use the bridge InSpec audit resource to test basic network bridge properties, such as name, if an interface is defined, and the associations for any defined interface.'
example "
describe bridge 'br0' do
it { should exist }
it { should have_interface 'eth0' }