Sha256: ad79690ca9b51be04e73be27ecc99797fa629e0bcaa930ca63a30d74fa1e2273

Contents?: true

Size: 328 Bytes

Versions: 40

Compression:

Stored size: 328 Bytes

Contents

require "erb"
require "foreman/export"

class Foreman::Export::Launchd < Foreman::Export::Base

  def export
    super
    engine.each_process do |name, process|
      1.upto(engine.formation[name]) do |num|
        write_template "launchd/launchd.plist.erb", "#{app}-#{name}-#{num}.plist", binding
      end
    end
  end

end

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
foreman-capistrano-0.53.4 lib/foreman/export/launchd.rb
foreman-capistrano-0.53.3 lib/foreman/export/launchd.rb
foreman-capistrano-0.53.2 lib/foreman/export/launchd.rb
foreman-capistrano-0.53.1 lib/foreman/export/launchd.rb
foreman-capistrano-0.53.0 lib/foreman/export/launchd.rb
foreman-capistrano-0.52.6 lib/foreman/export/launchd.rb
foreman-capistrano-0.52.5 lib/foreman/export/launchd.rb
foreman-capistrano-0.52.4 lib/foreman/export/launchd.rb
foreman-capistrano-0.52.3 lib/foreman/export/launchd.rb
foreman-capistrano-0.52.2 lib/foreman/export/launchd.rb
foreman-capistrano-0.52.1 lib/foreman/export/launchd.rb
foreman-capistrano-0.52.0 lib/foreman/export/launchd.rb
foreman-capistrano-0.51.5 lib/foreman/export/launchd.rb
foreman-capistrano-0.51.4 lib/foreman/export/launchd.rb
foreman-capistrano-0.51.3 lib/foreman/export/launchd.rb
foreman-0.57.0-java lib/foreman/export/launchd.rb
foreman-0.57.0 lib/foreman/export/launchd.rb
foreman-capistrano-0.51.2 lib/foreman/export/launchd.rb
foreman-0.56.0 lib/foreman/export/launchd.rb
foreman-0.55.0 lib/foreman/export/launchd.rb