Problem:
All my YAML smart-class parameter values are wrongly formatted after upgrading from 1.16.2 to 1.17.3.
They look like this now:
--- '{"800-http_ALLOW"=>{"chain"=>"INPUT", "dport"=>80, "state"=>"NEW", "proto"=>"tcp",
"action"=>"accept"}, "800-https_ALLOW"=>{"chain"=>"INPUT", "dport"=>443, "state"=>"NEW",
"proto"=>"tcp", "action"=>"accept"}}'
Expected outcome:
800-http_ALLOW:
chain: INPUT
dport: 80
state: NEW
proto: tcp
action: accept
800-https_ALLOW:
chain: INPUT
dport: 443
state: NEW
proto: tcp
action: accept
Foreman and Proxy versions:
1.17.3
I’m aware of Bug #24640: 1.17 migration causes array/hash values for parameters to turn into strings with escaped quotes - Foreman, however I think this must be something different (the workaround doesn’t work either)