Sha256: d0ccf0621b2370b67a1966352b8eb34746af565ee6103c5a9473064c65b5e316
Contents?: true
Size: 1.1 KB
Versions: 7
Compression:
Stored size: 1.1 KB
Contents
class TestLab class Provisioner # ChefGem Provisioner Error Class class ChefGemError < ProvisionerError; end # ChefGem Provisioner Class # # @author Zachary Patten <zachary AT jovelabs DOT com> class ChefGem require 'json' def initialize(config={}, ui=nil) @config = (config || Hash.new) @ui = (ui || TestLab.ui) @ui.logger.debug { "config(#{@config.inspect})" } end # ChefGem Provisioner Container Setup # # Renders the defined script to a temporary file on the target container # and proceeds to execute said script as root via *lxc-attach*. # # @param [TestLab::Container] container The container which we want to # provision. # @return [Boolean] True if successful. def on_container_setup(container) # NOOP true end # ChefGem Provisioner Container Teardown # # This is a NO-OP currently. # # @return [Boolean] True if successful. def on_container_teardown(container) # NOOP true end end end end
Version data entries
7 entries across 7 versions & 1 rubygems