Sha256: b4841ddfd7cba9f51517fc015236d5db5441813613c0b2292443e1c75d701509

Contents?: true

Size: 1 KB

Versions: 13

Compression:

Stored size: 1 KB

Contents

#
# Cookbook Name:: runit
# Attribute File:: sv_bin
#
# Copyright 2008-2009, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

case platform
when "ubuntu","debian"
  set[:runit][:sv_bin] = "/usr/bin/sv"
  set[:runit][:chpst_bin] = "/usr/bin/chpst"
  set[:runit][:service_dir] = "/etc/service"
  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

Version data entries

13 entries across 12 versions & 4 rubygems

Version Path
ciborg-3.0.0 chef/travis-cookbooks/ci_environment/runit/attributes/default.rb
ciborg-3.0.0 chef/travis-cookbooks/worker_host/runit/attributes/default.rb
lobot-2.1.0 chef/travis-cookbooks/worker_host/runit/attributes/default.rb
server_maint-0.0.8 lib/cookbooks/runit/attributes/default.rb
server_maint-0.0.7 lib/cookbooks/runit/attributes/default.rb
server_maint-0.0.6 lib/cookbooks/runit/attributes/default.rb
server_maint-0.0.5 lib/cookbooks/runit/attributes/default.rb
server_maint-0.0.4 lib/cookbooks/runit/attributes/default.rb
server_maint-0.0.3 lib/cookbooks/runit/attributes/default.rb
lobot-2.0.0pre chef/travis-cookbooks/worker_host/runit/attributes/default.rb
server_maint-0.0.2 lib/cookbooks/runit/attributes/default.rb
lobot-1.0.pre chef/travis-cookbooks/worker_host/runit/attributes/default.rb
rails-up-0.0.1 templates/chef/cookbooks/runit/attributes/default.rb