Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added dependency of portage module for Gentoo

  • Loading branch information...
commit bdc90a2ca8da468580b8d8fe817864333d60d5de 1 parent 0f9607d
Rafael Luque authored
Showing with 4 additions and 2 deletions.
  1. +2 −1  README.md
  2. +2 −1  manifests/gentoo.pp
3  README.md
View
@@ -3,5 +3,6 @@ puppet-sun-jdk
Installs sun-jdk on linux OS. Supports debian family and gentoo so far, but more OS are welcome. It has been tested on squeeze and gentoo.
Depens on:
- - puppet-wget (https://github.com/osoco/puppet-wget) for gentoo
+ - puppet-wget module for Gentoo (https://github.com/osoco/puppet-wget)
+ - puppet-portage module (https://github.com/osoco/puppet-portage)
- non-free repositories for debian family
3  manifests/gentoo.pp
View
@@ -1,12 +1,13 @@
class sun-jdk::gentoo
{
include wget
+ include portage
wget::fetch { "sun-jdk-download":
source => "http://download.oracle.com/otn-pub/java/jdk/6u29-b11/jdk-6u29-linux-x64.bin",
destination => "/usr/portage/distfiles/jdk-6u29-linux-x64.bin"
}
-
+
file { "/etc/portage/package.license/sun-jdk":
owner => 'root',
group => 'root',
Please sign in to comment.
Something went wrong with that request. Please try again.