From b947753b6cbdb61cfc397f4d2740f8eaabcd9e05 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Tue, 19 Mar 2024 11:11:58 -0700 Subject: [PATCH] rm acceptance test usage of puppetlabs/accounts mod because the accpetance tests are failing under puppet8 because of this bug: https://github.com/puppetlabs/puppetlabs-accounts/pull/476 --- spec/acceptance/basic_spec.rb | 6 ++++-- spec/support/acceptance/setup.rb | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/acceptance/basic_spec.rb b/spec/acceptance/basic_spec.rb index 5c35321..c8de0a2 100644 --- a/spec/acceptance/basic_spec.rb +++ b/spec/acceptance/basic_spec.rb @@ -6,8 +6,10 @@ describe 'prepare host' do let(:manifest) do <<-PP - accounts::user { 'ccs': } - accounts::user { 'ccsadm': } + user { ['ccs', 'ccsadm']: + ensure => 'present', + managehome => true, + } PP end diff --git a/spec/support/acceptance/setup.rb b/spec/support/acceptance/setup.rb index e018bac..336a074 100644 --- a/spec/support/acceptance/setup.rb +++ b/spec/support/acceptance/setup.rb @@ -3,6 +3,5 @@ configure_beaker(modules: :metadata) do |host| scp_to(host, "#{__dir__}/../../fixtures/facts/site.yaml", '/opt/puppetlabs/facter/facts.d/site.yaml') install_puppet_module_via_pmt_on(host, 'puppet/alternatives', '5') - install_puppet_module_via_pmt_on(host, 'puppetlabs/accounts', '8') install_puppet_module_via_pmt_on(host, 'puppetlabs/java', '10') end