This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class javaplugin32 { | |
package { 'Java 8 Update 66' : | |
ensure => installed, | |
source => '\\FILE-SERVER\Software\Java\Plugins\jre-8u66-windows-i586.exe', | |
install_options => ['/s'], | |
notify => Exec['Uninstall Previous Version'] | |
} | |
exec { 'Uninstall Previous Version' : | |
command => 'MsiExec.exe /qn /X{26A24AE4-039D-4CA4-87B4-2F83218060F0} /norestart', | |
path => 'C:\windows\system32', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
# | |
# | |
# This custom fact fetches the Java Plugin 32 bits version currently installed on the system. | |
# | |
Facter.add("javaplugin32") do | |
confine :kernel => :windows | |
javaplugin32 = "unknown" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
# | |
# | |
# author: Eric Ohtake | |
# | |
# The custom fact fetches the Java Plugin 64 bits version currently installed on the system. | |
# | |
## Key for the version v8u65 HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\4EA42A62D9304AC4784BF2681408560F | |
## Key for the version v8u66 HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\4EA42A62D9304AC4784BF2681408660F |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
��W i n d o w s R e g i s t r y E d i t o r V e r s i o n 5 . 0 0 | |