Permalink
Browse files

COOK-351, also add chpst_bin attribute introduced by COOK-304

  • Loading branch information...
1 parent 1ee0a78 commit 6809bcbf862f89bcc0d9160e0ab249d034f152a2 @jtimberman jtimberman committed Aug 27, 2010
Showing with 3 additions and 2 deletions.
  1. +1 −0 attributes/default.rb
  2. +2 −2 recipes/default.rb
View
@@ -25,6 +25,7 @@
set[:runit][:sv_dir] = "/etc/sv"
when "gentoo"
set[:runit][:sv_bin] = "/usr/bin/sv"
+ set[:runit][:chpst_bin] = "/usr/bin/chpst"
set[:runit][:service_dir] = "/etc/service"
set[:runit][:sv_dir] = "/var/service"
end
View
@@ -53,15 +53,15 @@
"9.04" => :run,
"8.10" => :run,
"8.04" => :run },
- "gentoo" => { "default" => :run }
+ "gentoo" => { "default" => :run }
), resources(:execute => "start-runsvdir"), :immediately
notifies value_for_platform(
"debian" => { "squeeze/sid" => :run, "default" => :nothing },
"default" => :nothing
), resources(:execute => "runit-hup-init"), :immediately
end
- if node[:platform] =~ /ubuntu/i && node[:platform_version].to_f <= 8.04
+ if node[:platform] =~ /ubuntu/i && node[:platform_version].to_f <= 8.04
cookbook_file "/etc/event.d/runsvdir" do
source "runsvdir"
mode 0644

0 comments on commit 6809bcb

Please sign in to comment.