vagrant-hitch 0.0.8 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/lib/vagrant-hitch.rb CHANGED
@@ -106,8 +106,8 @@ module VagrantHitch
106
106
  if node_config['puppet']['options'].include?('--graph')
107
107
  begin
108
108
  graph_dir = File.join(config_dir,'..','graph')
109
- [graph_dir, "#{graph_dir}/#{node_config['hostname']}"].each { |d| Dir.mkdir(d) if !File.directory?(d) }
110
- node_config['puppet']['options'] << "--graphdir=/vagrant/graph/#{node_config['hostname']}"
109
+ [graph_dir, "#{graph_dir}/#{hostname}"].each { |d| Dir.mkdir(d) if !File.directory?(d) }
110
+ node_config['puppet']['options'] << "--graphdir=/vagrant/graph/#{hostname}"
111
111
  rescue => e
112
112
  puts "Unable to create Puppet Graph Directory: #{e}"
113
113
  end
@@ -131,8 +131,8 @@ module VagrantHitch
131
131
  if node_config['puppet_server']['options'].include?('--graph')
132
132
  begin
133
133
  graph_dir = File.join(config_dir,'..','graph')
134
- [graph_dir, "#{graph_dir}/#{node_config['hostname']}"].each { |d| Dir.mkdir(d) if !File.directory?(d) }
135
- node_config['puppet_server']['options'] << "--graphdir=/vagrant/graph/#{node_config['hostname']}"
134
+ [graph_dir, "#{graph_dir}/#{hostname}"].each { |d| Dir.mkdir(d) if !File.directory?(d) }
135
+ node_config['puppet_server']['options'] << "--graphdir=/vagrant/graph/#{hostname}"
136
136
  rescue => e
137
137
  puts "Unable to create Puppet Graph Directory: #{e}"
138
138
  end
@@ -15,5 +15,5 @@ Gem::Specification.new do |gem|
15
15
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
16
16
  gem.name = "vagrant-hitch"
17
17
  gem.require_paths = ["lib"]
18
- gem.version = "0.0.8"
18
+ gem.version = "0.0.9"
19
19
  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.8
4
+ version: 0.0.9
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-11-09 00:00:00.000000000 Z
13
+ date: 2012-11-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: vagrant