class Sprinkle::Actors::Vlad

The Vlad actor is one of the delivery method options available out of the box with Sprinkle. If you have the vlad the deployer gem installed, you may use this delivery. The only configuration option available, and which is mandatory to include is script. An example:

deployment do
  delivery :vlad do
    script 'deploy'
  end
end

script is given a list of files which vlad will include and load. These recipes are mainly to set variables such as :user, :password, and to set the app domain which will be sprinkled.

Public Instance Methods

script(name) click to toggle source

Defines a script file which will be included by vlad. Use these script files to set vlad specific configurations. Multiple scripts may be specified through multiple script calls, an example:

deployment do
  delivery :vlad do
    script 'deploy'
    script 'magic_beans'
  end
end
# File lib/sprinkle/actors/vlad.rb, line 50
def script(name)
  @loaded_recipes ||= []
  require name
  @loaded_recipes << name
end