Method: Unix::Host#skip_set_env?
- Defined in:
- lib/beaker/host/unix.rb
#skip_set_env? ⇒ String?
Tells you whether a host platform supports beaker’s
{Beaker::HostPrebuiltSteps#set_env} method
51 52 53 54 55 56 57 58 59 |
# File 'lib/beaker/host/unix.rb', line 51 def skip_set_env? variant, version, arch, codename = self['platform'].to_array case variant when /^(f5|netscaler)$/ "no puppet-agent package for network device platform '#{variant}'" else nil end end |