Issue #21133 has been updated by Josh Cooper. Description updated Status changed from Accepted to Needs More Information
As much as I would like to do this, I don't see how. In puppet, a versionable package provider must be able to report on the version that is installed, as well as install a particular version of a package. But windows doesn't have a central package repo from which to install a specific version. Instead, you have to specify *the* version to install via the `source` parameter. A secondary issue is that windows packages are supposed to store the installed version in the registry (under `DisplayVersion`) in the registry but it's not required. If anyone has ideas about this, I'm all ears. With that said, there is a versionable windows package provider <https://github.com/chocolatey/puppet-chocolatey> built around [chocolatey](http://chocolatey.org/). It adds metadata around package versions and where to retrieve them from. Check it out. ---------------------------------------- Feature #21133: Add versionable feature to windows package provider https://projects.puppetlabs.com/issues/21133#change-92639 * Author: matt f * Status: Needs More Information * Priority: Normal * Assignee: * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- package provider on windows does not report package version: <pre> C:\marionette-collective\bin>puppet resource package Puppet package { 'Puppet': ensure => 'installed', } </pre> On linux the version is reported: <pre> # puppet resource package puppet package { 'puppet': ensure => '3.2.1-1.el6', } </pre> This above example is on puppet for windows version 3.2.1 -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
