Sha256: 573c8a070bf1d52d03156ce1d8e79e3f3a642189894ebcd4b3a0d7b259388e31
Contents?: true
Size: 1.11 KB
Versions: 2
Compression:
Stored size: 1.11 KB
Contents
#-- # The only point of this file is to give RDoc a definition for # Sprinkle::Actors. This file in production is never actually included # since ActiveSupport only on-demand loads classes which are needed # and this module is never explicitly needed. #++ module Sprinkle # An actor is a method of command delivery to a remote machine. Actors are the # layer setting between Sprinkle and the systems you and wanting to apply # policies to. # # Sprinkle ships with actors for Capistrano, Vlad, localhost and pure SSH. # 99% of the time these should be sufficient but you can always write your # own actor otherwise. # # == Writing an actor # # Actors must provide only 3 methods: # # * install (installer, roles, options) # * verify (verifier, roles, options) # * transfer (source, destination, roles, options) # # Hopefully these methods are kind of fairly obvious. They should return true # to indicate success and false to indicate failure. # The actual commands you need to execute can be retrived from # +installer.install_sequence+ and +verifier.commands+. module Actors end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sprinkle-0.5.0 | lib/sprinkle/actors/actors.rb |
sprinkle-0.5.0.rc1 | lib/sprinkle/actors/actors.rb |