Puppet Version: 6.10.1 Puppet Server Version: OS Name/Version: Arch Linux Every time the pacman provider is used to install a package, it includes the y flag to refresh the package list, eg: ==> default: Debug: Executing: '/usr/bin/pacman --noconfirm --needed --noprogressbar -Sy virtualbox-guest-utils' From the Arch Linux wiki, this is a "partial upgrade" which they say shouldn't be done: https://wiki.archlinux.org/index.php/System_maintenance#Partial_upgrades_are_unsupported Desired Behavior: Either:
- Don't refresh the package list (remove the y flag), in which case new packages will be installed matching the same point in time version as the rest of the system
- Add the u flag so the package list is updated and all existing packages are upgraded to the current point in time versions
Option 2 probably isn't desired( ? ). Asking Puppet to install a new package shouldn't result in the rest of the system being upgraded( ? ) Actual Behavior: Running on Arch Linux (with pacman as the default provider), this resource: {{{package { 'virtualbox-guest-utils': ensure => 'present' }}}} Produces this in the log: ==> default: Debug: Executing: '/usr/bin/pacman --noconfirm --needed --noprogressbar -Sy virtualbox-guest-utils' |