Skip to content

Commit

Permalink
Add Java feature
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanstearns committed Nov 10, 2010
1 parent e8d4f26 commit 20ce2d2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion genii.gemspec
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Bryan Stearns"]
s.date = %q{2010-10-28}
s.date = %q{2010-11-10}
s.default_executable = %q{genii}
s.description = %q{Yet another take on system setup in Ruby}
s.email = %q{bryanstearns@gmail.com}
Expand Down Expand Up @@ -44,6 +44,7 @@ Gem::Specification.new do |s|
"lib/genii/features/fonts.rb",
"lib/genii/features/fstab_noatime.rb",
"lib/genii/features/groups.rb",
"lib/genii/features/java.rb",
"lib/genii/features/monit.rb",
"lib/genii/features/monit/monit_top",
"lib/genii/features/mysql_server.rb",
Expand Down
7 changes: 7 additions & 0 deletions lib/genii/features/java.rb
@@ -0,0 +1,7 @@
class Features::Java < Feature
def create_dependencies
depends_on :packages => {
:names => %w[default-jdk]
}
end
end

0 comments on commit 20ce2d2

Please sign in to comment.