Sha256: 3789b051f503024f45eb318118f22c5a13382c7fd1483042ff5e110210bb750e

Contents?: true

Size: 498 Bytes

Versions: 5

Compression:

Stored size: 498 Bytes

Contents

class TestLab

  # Provisioner Error Class
  class ProvisionerError < TestLabError; end

  # Provisioner Class
  #
  # @author Zachary Patten <zachary@jovelabs.net>
  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

5 entries across 5 versions & 1 rubygems

Version Path
testlab-0.3.0 lib/testlab/provisioner.rb
testlab-0.2.1 lib/testlab/provisioner.rb
testlab-0.2.0 lib/testlab/provisioner.rb
testlab-0.1.0 lib/testlab/provisioner.rb
testlab-0.0.4 lib/testlab/provisioner.rb