diff --git a/lib/foreman/export/bluepill.rb b/lib/foreman/export/bluepill.rb index 8cf8e5a..fae8a8b 100644 --- a/lib/foreman/export/bluepill.rb +++ b/lib/foreman/export/bluepill.rb @@ -23,7 +23,6 @@ class Foreman::Export::Bluepill < Foreman::Export::Base master_template = export_template("bluepill", "master.pill.erb", template_root) master_config = ERB.new(master_template).result(binding) write_file "#{location}/#{app}.pill", master_config - end end diff --git a/lib/foreman/export/upstart.rb b/lib/foreman/export/upstart.rb index d783505..47f8df4 100644 --- a/lib/foreman/export/upstart.rb +++ b/lib/foreman/export/upstart.rb @@ -27,6 +27,7 @@ class Foreman::Export::Upstart < Foreman::Export::Base process_template = export_template("upstart", "process.conf.erb", template_root) engine.processes.each do |process| + next if (conc = concurrency[process.name]) < 1 process_master_template = export_template("upstart", "process_master.conf.erb", template_root) process_master_config = ERB.new(process_master_template).result(binding) write_file "#{location}/#{app}-#{process.name}.conf", process_master_config