qubitrenegade/chef-geminabox-ng

View on GitHub
templates/default/config.ru.erb

Summary

Maintainability
Test Coverage
# File created by chef for <%= node.name %>
require 'rubygems'
require 'geminabox'

Geminabox.build_legacy = <%= node['geminabox-ng']['config']['build_legacy'] %>
Geminabox.rubygems_proxy = <%= node['geminabox-ng']['config']['rubygems_proxy'] %>
Geminabox.allow_remote_failure = <%= node['geminabox-ng']['config']['allow_remote_failure'] %>

Geminabox.data = '<%= gib_data_dir %>'
run Geminabox::Server