vagrant-saltdeps 1.0.4 → 1.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a084e08cb862e706875409f3a247fd55b6145f61
4
- data.tar.gz: 1fd41fb43515be16d54a97296d884ee5bd0dae47
3
+ metadata.gz: 5ea6f2d70f0f5d6e544b402992ed6f6b4248b34d
4
+ data.tar.gz: 317c2a5a554d63f8df4c5c587e7e3e2906b4a3bb
5
5
  SHA512:
6
- metadata.gz: add517692243b15c96a32e829ab2bb3c055233378f442edea940ebb3dd7c8b69d244b8dd869ac46bb959f7196027c518e8a9da6f479e3e16d07af9f22aee733f
7
- data.tar.gz: e92e89b63f028237bfa101fd0d431b1a5f52629b3a68b2531f889f76d33b88515f15f82fdd5a59248a46910101372a169f05d1be050a97df0ef4b83a434663fb
6
+ metadata.gz: b23757a3fc524ee12618a1af2b87edbc7993c4b40021b75d599ea41c5298b55bdbf15fa64b40a5ac8bc309d171e0d61351bea2b5697b6e05c5003095d669a59e
7
+ data.tar.gz: 7ac055486528f40c76723e4d2c1b002579a165fba6b0f55f7dbf880147453b224c119ef6069c31f60b43e13ddd9a1d899e1becc1b23da4c63abe23e70ff0f064
data/CHANGLOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.0.5 (2015-04-13)
2
+
3
+ BugFixes:
4
+
5
+ - change merge order so local pillars and grains overwrite dependent pillars and grains
6
+
1
7
  ## 1.0.4 (2015-04-03)
2
8
 
3
9
  ErrorHandling:
@@ -112,7 +112,7 @@ module VagrantPlugins
112
112
  def merge(path, output)
113
113
  local_path = File.expand_path(path, @machine.env.root_path)
114
114
 
115
- merge_object = File.exists?(local_path) ? YAML.load_file(local_path) || {} : {}
115
+ merge_object = {}
116
116
  @formula_folders.each do |folder|
117
117
  split_host_path = folder[:host_path].split('/')
118
118
  base_dep_path = split_host_path[0..(split_host_path.length-2)].join('/')
@@ -120,6 +120,7 @@ module VagrantPlugins
120
120
  merge_object.deep_merge!(YAML.load_file(dep_path) || {}) if File.exists?(dep_path)
121
121
  end
122
122
 
123
+ merge_object.deep_merge!(File.exists?(local_path) ? YAML.load_file(local_path) || {} : {})
123
124
  File.open(output, 'w') {|f| f.write merge_object.to_yaml }
124
125
  end
125
126
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Saltdeps
3
- VERSION = '1.0.4'
3
+ VERSION = '1.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-saltdeps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph Hughes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-06 00:00:00.000000000 Z
11
+ date: 2015-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git