The Solaris packaging provider fails to update packages to latest version when "latest" is specified. The method latest determines if there is a newer version of the package by doing "pkg list -Hn". There is no 'pkg refresh' executed, so a newer version in the repository will never be seen.
The latest method is superfluous in Solaris. Puppet should simply run a 'pkg update', which will automatically do a refresh as part of its action. Since the flow is controlled by the type, not the provider, I'm wondering how I should best go about fixing this. The super-simple solution is to add a 'pkg refresh' at the beginning of the latest method. This will add time to the processing of each package, and put an undue load on the publisher in large environments. Ideally, I'ld just skip the latest method. Any suggestions? -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/b4173f95-02ee-46fe-a25f-8fc4c8b11717%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.