Permalink
Browse files

included missing dependencies

  • Loading branch information...
1 parent 5e18d11 commit 1d7bbb6e14993d839d9aae4c4b89ea49914b1f83 Roman Kamyk committed Feb 18, 2011
Showing with 5 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +1 −1 metadata.rb
  3. +2 −1 recipes/default.rb
View
@@ -0,0 +1,2 @@
+metadata.json
+
View
@@ -4,4 +4,4 @@
description "Installs and configures Jenkins CI server & slaves"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.4"
-depends "runit"
+%w(runit java iptables).each { |cb| depends cb }
View
@@ -21,7 +21,7 @@
# limitations under the License.
#
-#include_recipe "java"
+include_recipe "java"
pkey = "#{node[:jenkins][:server][:home]}/.ssh/id_rsa"
tmp = "/tmp"
@@ -259,6 +259,7 @@
end
if platform?("redhat","centos","debian","ubuntu")
+ include_recipe "iptables"
iptables_rule "port_jenkins" do
if node[:jenkins][:iptables_allow] == "disable"
enable false

0 comments on commit 1d7bbb6

Please sign in to comment.