lib/beaker/host/unix.rb in beaker-2.33.0 vs lib/beaker/host/unix.rb in beaker-2.34.0

- old
+ new

@@ -144,16 +144,23 @@ # @return [String,nil] Reason message if set_env should be skipped, # nil if it should run. def skip_set_env? variant, version, arch, codename = self['platform'].to_array case variant - when /^cisco$/ - 'Cisco does not allow SSH control through the BASH shell' when /^(f5|netscaler)$/ "no puppet-agent package for network device platform '#{variant}'" else nil end + end + + # Validates that the host was setup correctly + # + # @return nil + # @raise [ArgumentError] If the host is setup incorrectly, + # this will be raised with the appropriate message + def validate_setup + nil end def initialize name, host_hash, options super