Currently, the package is only installed once. If new versions are present, they are not installed. There is also no way to force an upgrade with this module.
It should be possible to pass through the ensure setting as specified in the Puppet Documentation.
This will allow a specific version like 7u55-0~webupd8~1 (see http://www.ubuntuupdates.org/package/webupd8_java/precise/main/base/oracle-java7-installer for a list of versions).
Example Usage
class { 'java7':
ensure => '7u55-0~webupd8~1',
}
The default should be installed to maintain backwards compatibility. It is also not desirable to auto-update java as there can often be breaking changes.
Currently, the
packageis only installed once. If new versions are present, they are not installed. There is also no way to force an upgrade with this module.It should be possible to pass through the
ensuresetting as specified in the Puppet Documentation.This will allow a specific version like
7u55-0~webupd8~1(see http://www.ubuntuupdates.org/package/webupd8_java/precise/main/base/oracle-java7-installer for a list of versions).Example Usage
The default should be
installedto maintain backwards compatibility. It is also not desirable to auto-update java as there can often be breaking changes.