Sha256: 49a9c4003e578406efe2d31420e433970aca73b57489f5b930129270e682f5f6
Contents?: true
Size: 584 Bytes
Versions: 4
Compression:
Stored size: 584 Bytes
Contents
require 'r10k/task' require 'r10k/task/puppetfile' module R10K module Task module Environment # @deprecated class Deploy < R10K::Task::Base attr_writer :update_puppetfile def initialize(environment) @environment = environment @update_puppetfile = false end def call logger.notice "Deploying environment #{@environment.dirname}" @environment.sync if @update_puppetfile task = R10K::Task::Puppetfile::Sync.new(@environment.puppetfile) task_runner.insert_task_after(self, task) end end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
r10k-1.5.1 | lib/r10k/task/environment.rb |
r10k-1.4.2 | lib/r10k/task/environment.rb |
r10k-1.4.1 | lib/r10k/task/environment.rb |
r10k-1.4.0 | lib/r10k/task/environment.rb |