Sha256: 3f460247172902b5a39d5a07fb411c68e703115dc9fe92658dad62fdeb7cf050

Contents?: true

Size: 992 Bytes

Versions: 37

Compression:

Stored size: 992 Bytes

Contents

class TestLab

  # Provisioner Error Class
  class ProvisionerError < TestLabError; end

  # Provisioner Class
  #
  # @author Zachary Patten <zachary AT jovelabs DOT com>
  class Provisioner
    autoload :Apt,          'testlab/provisioners/apt'
    autoload :AptCacherNG,  'testlab/provisioners/apt_cacher_ng'
    autoload :Bind,         'testlab/provisioners/bind'
    autoload :Chef,         'testlab/provisioners/chef'
    autoload :HostsFile,    'testlab/provisioners/hosts_file'
    autoload :NFSMount,     'testlab/provisioners/nfs_mount'
    autoload :Raring,       'testlab/provisioners/raring'
    autoload :Resolv,       'testlab/provisioners/resolv'
    autoload :Route,        'testlab/provisioners/route'
    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

37 entries across 37 versions & 1 rubygems

Version Path
testlab-1.22.4 lib/testlab/provisioner.rb
testlab-1.22.3 lib/testlab/provisioner.rb
testlab-1.22.2 lib/testlab/provisioner.rb
testlab-1.22.1 lib/testlab/provisioner.rb
testlab-1.22.0 lib/testlab/provisioner.rb
testlab-1.21.1 lib/testlab/provisioner.rb
testlab-1.21.0 lib/testlab/provisioner.rb
testlab-1.20.6 lib/testlab/provisioner.rb
testlab-1.20.5 lib/testlab/provisioner.rb
testlab-1.20.4 lib/testlab/provisioner.rb
testlab-1.20.3 lib/testlab/provisioner.rb
testlab-1.20.2 lib/testlab/provisioner.rb
testlab-1.20.1 lib/testlab/provisioner.rb
testlab-1.20.0 lib/testlab/provisioner.rb
testlab-1.19.0 lib/testlab/provisioner.rb
testlab-1.18.1 lib/testlab/provisioner.rb
testlab-1.18.0 lib/testlab/provisioner.rb
testlab-1.17.0 lib/testlab/provisioner.rb
testlab-1.16.1 lib/testlab/provisioner.rb
testlab-1.16.0 lib/testlab/provisioner.rb