class Foreman::Export::Supervisord

Public Instance Methods

export() click to toggle source
Calls superclass method Foreman::Export::Base#export
# File lib/foreman/export/supervisord.rb, line 6
def export
  super

  Dir["#{location}/#{app}.conf"].each do |file|
    clean file
  end

  write_template "supervisord/app.conf.erb", "#{app}.conf", binding
end