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 +4 -4
- data/vagrant-hitch.gemspec +1 -1
- metadata +2 -2
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}/#{
|
|
110
|
-
node_config['puppet']['options'] << "--graphdir=/vagrant/graph/#{
|
|
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}/#{
|
|
135
|
-
node_config['puppet_server']['options'] << "--graphdir=/vagrant/graph/#{
|
|
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
|
data/vagrant-hitch.gemspec
CHANGED
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.
|
|
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-
|
|
13
|
+
date: 2012-11-10 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: vagrant
|