Sha256: a422ff4ca7c7116309dc0e977bfd177c25181d608769cc60d6cbb5a135e8e202

Contents?: true

Size: 645 Bytes

Versions: 2

Compression:

Stored size: 645 Bytes

Contents

class TestLab

  # Provisioner Error Class
  class ProvisionerError < TestLabError; end

  # Provisioner Class
  #
  # @author Zachary Patten <zachary AT jovelabs DOT com>
  class Provisioner
    autoload :Shell,       'testlab/provisioners/shell'
    autoload :OmniBus,     'testlab/provisioners/omnibus'
    autoload :OmniTruck,   'testlab/provisioners/omnitruck'
    autoload :AptCacherNG, 'testlab/provisioners/apt_cacher_ng'

    class << self

      # Returns the path to the gems provisioner templates
      def template_dir
        File.join(TestLab.gem_dir, "lib", "testlab", "provisioners", "templates")
      end

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
testlab-0.5.2 lib/testlab/provisioner.rb
testlab-0.5.1 lib/testlab/provisioner.rb