Class: Foreman::Export::Bluepill

Inherits:
Base
  • Object
show all
Defined in:
lib/foreman/export/bluepill.rb

Instance Attribute Summary

Attributes inherited from Base

#engine, #formation, #location, #options, #port

Instance Method Summary collapse

Methods inherited from Base

#app, #initialize, #log, procfile, #run, #template, #user

Constructor Details

This class inherits a constructor from Foreman::Export::Base

Instance Method Details

#exportObject


6
7
8
9
10
# File 'lib/foreman/export/bluepill.rb', line 6

def export
  super
  clean "#{location}/#{app}.pill"
  write_template "bluepill/master.pill.erb", "#{app}.pill", binding
end