I'm running puppet on windows and I want to upgrade a package (java) I installed using an msi. I installed the package using
package { 'java':
ensure => installed,
provider => 'msi',
source => 'S:\jdk1.6.0_30.msi',
install_options => { 'INSTALLDIR' => 'C:\tools\java' },
}
Now I want to upgrade to build 31 for example, so I tried running
package { 'java':
ensure => installed,
provider => 'msi',
source => 'S:\jdk1.6.0_31.msi',
install_options => { 'INSTALLDIR' => 'C:\tools\java' },
}
this does not actually upgrade since the package 'java' is already installed. An when I tried changing the "ensure" value to latest, puppet said that the provider type must have features 'upgradeable'.
Is this just a windows limitation? Is there a way to upgrade the existing Java install using msi packages?