vagrant-hitch 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/vagrant-hitch.rb CHANGED
@@ -43,8 +43,9 @@ module VagrantHitch
43
43
  config.vm.box_url = node_config['vbox_url']
44
44
 
45
45
  # Configure Hostname
46
- host_name = node_config.has_key?("orgname") ? "#{profile.to_s}.#{node_config['orgname']}" : profile.to_s
47
- config.vm.host_name = host_name
46
+ if node_config.has_key?('hostname')
47
+ config.vm.host_name = node_config['hostname']
48
+ end
48
49
 
49
50
  if node_config.has_key?('guest')
50
51
  config.vm.guest = node_config['guest']
@@ -14,5 +14,5 @@ Gem::Specification.new do |gem|
14
14
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
15
15
  gem.name = "vagrant-hitch"
16
16
  gem.require_paths = ["lib"]
17
- gem.version = "0.0.1"
17
+ gem.version = "0.0.2"
18
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-hitch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-09-24 00:00:00.000000000 Z
13
+ date: 2012-10-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: vagrant