voxpupuli/puppet-php

ensure :: latest partially upgrades php8.2 to php8.3 unexpectedly

jackdpeterson opened this issue · 0 comments

On an ubuntu 22.04 virtual machine

With the current master version of this repository and the following partial configuration,

class { '::php::globals':
    php_version => '8.2'
  } ->
  class { '::php':
    manage_repos   => true,
    ensure         => latest,
    phpunit        => false,
    package_prefix => 'php8.2-',
}

I'm observing that php common is installed to a version that depends on php8.3 and not 8.2 as expected. Looks like apt dependencies need to be pinned to keep the packages in a version-controlled state.