puppet_metadata 3.7.0 → 3.7.1
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 +4 -4
- data/bin/metadata2gha +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c020a10d892a679413785b7c67a81848994b173543df654cec75001ca03fc37
|
4
|
+
data.tar.gz: aa7f4b513266264e07e09077f0d4de5118824673a4d5cd7d794ec0333573732b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f44421da7afad6edcbc16af1d52a6017ea08db5ec58dd92b72f40af9738189e3eddb63c18b6091202831234a99277c48ae86d0524e895df76b5eb22c34a22362
|
7
|
+
data.tar.gz: 47f2a4061065f4474cd847f86d1092d3e4ed41ce2077eb2389b0526c983e7472acdbbebca643b8a1578d587f9edbeeb56c25449d494b5b2efd06f666e82255a2
|
data/bin/metadata2gha
CHANGED
@@ -42,12 +42,13 @@ OptionParser.new do |opts|
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
opts.on('--beaker-hosts HOSTNAME:ROLES;HOSTNAME:ROLES;...', 'Expand the setfile string to create multiple hosts with custom roles. Roles string; see beaker-hostgenerator') do |opt|
|
45
|
-
options[:beaker_hosts] = {}
|
46
45
|
if opt != 'false'
|
46
|
+
beaker_hosts = {}
|
47
47
|
opt.split(';').each do |host|
|
48
48
|
hostname, roles = host.split(':', 2)
|
49
|
-
|
49
|
+
beaker_hosts[hostname] = roles
|
50
50
|
end
|
51
|
+
options[:beaker_hosts] = beaker_hosts unless beaker_hosts.empty?
|
51
52
|
end
|
52
53
|
end
|
53
54
|
end.parse!
|