Skip to content

Commit

Permalink
Merge pull request #9492 from puppetlabs/backport-9491-to-7.x
Browse files Browse the repository at this point in the history
[Backport 7.x] (PA-7090) Correct system time on AIX
  • Loading branch information
mhashizume committed Sep 27, 2024
2 parents bfe54da + 8e2af8d commit c8fc8dc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions acceptance/tests/ssl/certificate_extensions.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'puppet/acceptance/temp_file_utils'
extend Puppet::Acceptance::TempFileUtils
extend Beaker::HostPrebuiltSteps

test_name "certificate extensions available as trusted data" do
skip_test "Test requires at least one non-master agent" if hosts.length == 1
Expand Down Expand Up @@ -77,6 +78,8 @@
with_puppet_running_on(master, master_config) do
agents.each do |agent|
next if agent == master
# Temporarily sync time on AIX to account for incorrect system time (PA-7090)
timesync(agent, {:logger => logger}) if agent.platform.start_with?('aix')

step "Create agent csr_attributes.yaml on #{agent}"
agent_csr_attributes = get_test_file_path(agent, "csr_attributes.yaml")
Expand Down

0 comments on commit c8fc8dc

Please sign in to comment.