Sha256: cf6b6d691deb411d5acc7299b97ddf942c3e7694f4c43d45e7c27a41440ff39d
Contents?: true
Size: 818 Bytes
Versions: 7
Compression:
Stored size: 818 Bytes
Contents
module Sprinkle module Actors # = Local Delivery Method # # This actor implementation performs any given commands on your local system, as # opposed to other implementations that generally run commands on a remote system # via the network. # # This is useful if you'd like to use Sprinkle to provision your local machine. # To enable this actor, in your Sprinkle script specify the :local delivery mechanism. # # deployment do # delivery :local # end # # Note, your local machine will be assumed to be a member of all roles when applying policies # class Local def process(name, commands, roles, suppress_and_return_failures = false) #:nodoc: commands.each { |command| system command } end end end end
Version data entries
7 entries across 7 versions & 3 rubygems