acceptance/pre_suite/pkg/install.rb in beaker-puppet-1.29.0 vs acceptance/pre_suite/pkg/install.rb in beaker-puppet-2.0.0

- old
+ new

@@ -2,12 +2,12 @@ # the version is required on windows # all versions are required for osx hosts.each do |host| install_puppet_on(host, { - :version => ENV['BEAKER_PUPPET_VERSION'] || '5.5.20', - :puppet_agent_version => ENV['BEAKER_PUPPET_AGENT_VERSION'] || '5.5.20' - }) + version: ENV['BEAKER_PUPPET_VERSION'] || '5.5.20', + puppet_agent_version: ENV['BEAKER_PUPPET_AGENT_VERSION'] || '5.5.20', + }) on(host, puppet('resource user puppet ensure=present')) on(host, puppet('resource group puppet ensure=present')) end