puppet-portage
puppet-portage copied to clipboard
package_* types do not update version when it was not initially defined
package_mask { 'media-sound/amarok': }
This creates an entry media-sound/amarok
in /etc/portage/package.mask/default
. On a second run:
package_mask { 'media-sound/amarok':
version => '=2.5.0',
}
This does NOT update the entry to =media-sound/amarok-2.5.0
This bug affects only the version attribute on all package_* types. It does NOT affect keywords,use,ensure,target.
This appears to be a limitation in the parsedfile
provider: https://projects.puppetlabs.com/issues/6628
according to @adrienthebo the solution is to replace parsedfile
with https://github.com/adrienthebo/puppet-filemapper