boxen / puppet-java

Install Java
http://boxen.github.com
MIT License
13 stars 55 forks source link

Disable Java Internet Plug-in #19

Closed hughevans closed 7 years ago

hughevans commented 11 years ago

I’m not sure if this is wanted or not, but personally I don’t want Java running in my browsers and disable it with:

file { "/Library/Application Support/Oracle/Java/javaws":
  ensure => absent
}

file { "/Library/Application Support/Oracle/Java/Info.plist":
  ensure => link,
  target => '/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Disabled.plist'
}
jacobbednarz commented 7 years ago

Happy to review this if you'd like to open a PR.