Skip to content

(maint) Upgrade to latest puppet 8.x agents#817

Merged
joshcooper merged 1 commit into
mainfrom
puppet9_prep
Jan 19, 2026
Merged

(maint) Upgrade to latest puppet 8.x agents#817
joshcooper merged 1 commit into
mainfrom
puppet9_prep

Conversation

@joshcooper
Copy link
Copy Markdown
Contributor

On agents without package managers, we query builds to get the latest version. Now that puppet-agent-main-version is the latest puppet 9.x version, use puppet-agent-8.x-version instead. Also log what version is being used:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    20  100    20    0     0     41      0 --:--:-- --:--:-- --:--:--    41
  Using latest puppet-agent-8.x 8.16.0.57.g2e9c77acb

On agents without package managers, we query builds to get the latest
version. Now that `puppet-agent-main-version` is the latest puppet 9.x
version, use `puppet-agent-8.x-version` instead. Also log what version
is being used:

```
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    20  100    20    0     0     41      0 --:--:-- --:--:-- --:--:--    41
  Using latest puppet-agent-8.x 8.16.0.57.g2e9c77acb
```
@joshcooper joshcooper requested review from a team and bastelfreak as code owners January 19, 2026 19:34
@joshcooper
Copy link
Copy Markdown
Contributor Author

I tested this using:

cd acceptance
export TEST_FRAMEWORK=beaker-rspec
export BEAKER_debug=true
export BEAKER_HOSTGENERATOR_VERSION='git@github.com:puppetlabs/beaker-hostgenerator-private.git#master'
export MASTER_COLLECTION=puppet8-nightly
export HOSTS=hosts.yaml
bundle install
bundle exec beaker-hostgenerator windows2012r2-64default.a-redhat9-64mdca --hypervisor abs > hosts.yaml
bundle exec rake ci
...
  Using latest puppet-agent-8.x 8.16.0.57.g2e9c77acb
...
      Debug: HTTP GET https://artifactory.delivery.puppetlabs.net/artifactory/internal_nightly__local/downloads/windows/puppet8-nightly/puppet-agent-8.16.0.57.g2e9c77acb-x64.msi returned 200 
...
    * (Agent) waiting for upgrade to complete...
      
      rich-department.delivery.puppetlabs.net (rich-department.delivery.puppetlabs.net) 11:30:58$ cat C:/ProgramData/PuppetLabs/puppet/cache/state/puppet_agent_upgrade.pid
        Trying command 1000 times.
      .      
      rich-department.delivery.puppetlabs.net (rich-department.delivery.puppetlabs.net) 11:30:58$ cat C:/ProgramData/PuppetLabs/puppet/cache/state/puppet_agent_upgrade.pid ostensibly successful.
    
    rich-department.delivery.puppetlabs.net (rich-department.delivery.puppetlabs.net) 11:30:58$ cmd.exe /c facter aio_agent_version
      8.16.0.57

@joshcooper joshcooper merged commit cc8ef66 into main Jan 19, 2026
9 checks passed
@joshcooper joshcooper deleted the puppet9_prep branch January 19, 2026 20:06
@mhashizume mhashizume added the maintenance Maintenance chores are typically excluded from changelogs label Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance chores are typically excluded from changelogs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants