Sha256: 579d1200e48f39944e331614d5e8384dd1a495939bac0b7b96ece6d6aca6e2f1

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 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 :Chef, 'testlab/provisioners/chef'

    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

1 entries across 1 versions & 1 rubygems

Version Path
testlab-0.3.1 lib/testlab/provisioner.rb