Sha256: f4b48123f9685cfb951f07840e8016793c8db22c9b711c910f21e1a0f38f493b

Contents?: true

Size: 281 Bytes

Versions: 13

Compression:

Stored size: 281 Bytes

Contents

require "erb"
require "foreman/export"

class Foreman::Export::Supervisord < Foreman::Export::Base

  def export
    super

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

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

end

Version data entries

13 entries across 13 versions & 3 rubygems

Version Path
foreman-0.88.1 lib/foreman/export/supervisord.rb
overman-0.87.3 lib/foreman/export/supervisord.rb
foreman-0.87.2 lib/foreman/export/supervisord.rb
foreman-0.87.1 lib/foreman/export/supervisord.rb
ypadlyak-foreman-0.85.0 lib/foreman/export/supervisord.rb
ypadlyak-foreman-0.81.0 lib/foreman/export/supervisord.rb
foreman-0.87.0 lib/foreman/export/supervisord.rb
foreman-0.86.0 lib/foreman/export/supervisord.rb
foreman-0.85.0 lib/foreman/export/supervisord.rb
foreman-0.84.0 lib/foreman/export/supervisord.rb
foreman-0.83.0 lib/foreman/export/supervisord.rb
foreman-0.82.0 lib/foreman/export/supervisord.rb
foreman-0.81.0 lib/foreman/export/supervisord.rb