Skip to content

Commit

Permalink
Added dependency of portage module for Gentoo
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Luque committed May 25, 2012
1 parent 0f9607d commit bdc90a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -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 changes: 2 additions & 1 deletion manifests/gentoo.pp
@@ -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',
Expand Down

0 comments on commit bdc90a2

Please sign in to comment.