Sha256: a2be8f88bba1cb6f58adddb902ca087feffddb04a2c564d4e949c44963da7cc8

Contents?: true

Size: 704 Bytes

Versions: 2

Compression:

Stored size: 704 Bytes

Contents

class TestLab

  # Provisioner Error Class
  class ProvisionerError < TestLabError; end

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

    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.4 lib/testlab/provisioner.rb
testlab-0.5.3 lib/testlab/provisioner.rb