require 'beaker-rspec/helpers/serverspec'
require 'beaker-rspec/spec_helper'
require 'beaker/puppet_install_helper'

run_puppet_install_helper

SUPPORTED_PLATFORMS = ['Debian'].freeze

RSpec.configure do |c|
  # Project root
  proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))

  # Readable test descriptions
  c.formatter = :documentation

  # Configure all nodes in nodeset
  c.before :suite do
    # Install module and dependencies
    hosts.each do |host|
      copy_module_to(host, source: proj_root, module_name: 'resolv')
      on host, puppet('module install puppetlabs-stdlib'), acceptable_exit_codes: [0, 1]
    end
  end
end

require 'beaker-rspec/helpers/serverspec'
require 'beaker-rspec/spec_helper'
require 'beaker/puppet_install_helper'

run_puppet_install_helper

SUPPORTED_PLATFORMS = ['Debian'].freeze

RSpec.configure do |c|
  # Project root
  proj_root = File.expand_path(File.join(File.dirname(__FILE__), '..'))

  # Readable test descriptions
  c.formatter = :documentation

  # Configure all nodes in nodeset
  c.before :suite do
    # Install module and dependencies
    hosts.each do |host|
      copy_module_to(host, source: proj_root, module_name: 'resolv')
      on host, puppet('module install puppet-extlib'), acceptable_exit_codes: [0, 1]
      on host, puppet('module install puppetlabs-stdlib'), acceptable_exit_codes: [0, 1]
    end
  end
end

Add missing dependency for Beaker tests
Add missing dependency for Beaker tests
