Skip to content

Commit c8fc8dc

Browse files
authored
Merge pull request #9492 from puppetlabs/backport-9491-to-7.x
[Backport 7.x] (PA-7090) Correct system time on AIX
2 parents bfe54da + 8e2af8d commit c8fc8dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

acceptance/tests/ssl/certificate_extensions.rb

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
require 'puppet/acceptance/temp_file_utils'
22
extend Puppet::Acceptance::TempFileUtils
3+
extend Beaker::HostPrebuiltSteps
34

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

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

0 commit comments

Comments
 (0)