templates/graylog/config/rubber/deploy-graylog.rb in rubber-2.0.4 vs templates/graylog/config/rubber/deploy-graylog.rb in rubber-2.0.5
- old
+ new
@@ -29,11 +29,11 @@
task :bootstrap, :roles => :graylog_server do
exists = capture("echo $(ls /etc/graylog2.conf 2> /dev/null)")
if exists.strip.size == 0
rubber.update_code_for_bootstrap
- rubber.run_config(:file => "role/graylog_server", :force => true, :deploy_path => release_path)
+ rubber.run_config(:file => "role/graylog_server/", :force => true, :deploy_path => release_path)
restart
end
end
@@ -78,10 +78,10 @@
task :bootstrap, :roles => :graylog_web do
exists = capture("echo $(ls #{rubber_env.graylog_web_dir}/log 2> /dev/null)")
if exists.strip.size == 0
rubber.update_code_for_bootstrap
- rubber.run_config(:file => "role/graylog_web", :force => true, :deploy_path => release_path)
+ rubber.run_config(:file => "role/graylog_web/", :force => true, :deploy_path => release_path)
rubber.sudo_script 'bootstrap_graylog_web', <<-ENDSCRIPT
cd #{rubber_env.graylog_web_dir}
export RAILS_ENV=production
bundle install