mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Prior to this commit hostnames for VMs provisioned by vmpooler were 15 random characters. This is difficult for humans to tell apart. This commit updates the naming to use the `spicy-proton` gem to generate adjective noun pair names for the VMs, which I think would be easier for humans to tell apart, as well as fun and memorable to say. The random name should not exceed 15 characters in order to prevent issues with NETBIOS, etc as discussed in the attached ticket.
44 lines
1.1 KiB
Ruby
44 lines
1.1 KiB
Ruby
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
|
|
|
|
gem 'json', '>= 1.8'
|
|
gem 'pickup', '~> 0.0.11'
|
|
gem 'puma', '~> 3.11'
|
|
gem 'rack', '~> 2.0'
|
|
gem 'rake', '~> 12.3'
|
|
gem 'redis', '~> 4.0'
|
|
gem 'rbvmomi', '~> 1.13'
|
|
gem 'sinatra', '~> 2.0'
|
|
gem 'net-ldap', '~> 0.16'
|
|
gem 'statsd-ruby', '~> 1.4.0', :require => 'statsd'
|
|
gem 'connection_pool', '~> 2.2'
|
|
gem 'nokogiri', '~> 1.8'
|
|
gem 'spicy-proton', '2.1.1'
|
|
|
|
group :development do
|
|
gem 'pry'
|
|
end
|
|
|
|
# Test deps
|
|
group :test do
|
|
# required in order for the providers auto detect mechanism to work
|
|
gem 'vmpooler', path: './'
|
|
gem 'mock_redis', '>= 0.17.0'
|
|
gem 'rack-test', '>= 0.6'
|
|
gem 'rspec', '>= 3.2'
|
|
gem 'simplecov', '>= 0.11.2'
|
|
gem 'yarjuf', '>= 2.0'
|
|
gem 'climate_control', '>= 0.2.0'
|
|
# Rubocop would be ok jruby but for now we only use it on
|
|
# MRI or Windows platforms
|
|
gem "rubocop", :platforms => [:ruby, :x64_mingw]
|
|
end
|
|
|
|
# Evaluate Gemfile.local if it exists
|
|
if File.exists? "#{__FILE__}.local"
|
|
instance_eval(File.read("#{__FILE__}.local"))
|
|
end
|
|
|
|
# Evaluate ~/.gemfile if it exists
|
|
if File.exists?(File.join(Dir.home, '.gemfile'))
|
|
instance_eval(File.read(File.join(Dir.home, '.gemfile')))
|
|
end
|