kitchen-puppet 0.0.20 → 0.0.21
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.
|
@@ -565,11 +565,11 @@ module Kitchen
|
|
|
565
565
|
def prepare_facts
|
|
566
566
|
return unless config[:install_custom_facts]
|
|
567
567
|
return unless config[:custom_facts]
|
|
568
|
-
info '
|
|
568
|
+
info 'Installing custom facts'
|
|
569
569
|
facter_dir = File.join(sandbox_path, 'facter')
|
|
570
570
|
FileUtils.mkdir_p(facter_dir)
|
|
571
571
|
tmp_facter_file = File.join(facter_dir, 'kitchen.yaml')
|
|
572
|
-
facter_facts = config[:custom_facts]
|
|
572
|
+
facter_facts = Hash[config[:custom_facts].map { |k, v| [k.to_s, v.to_s] }]
|
|
573
573
|
File.open(tmp_facter_file, 'w') do |out|
|
|
574
574
|
YAML.dump(facter_facts, out)
|
|
575
575
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-puppet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.21
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-01-
|
|
12
|
+
date: 2015-01-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description: ! '== DESCRIPTION:
|
|
15
15
|
|