You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Aside from being weirdly divergent from other grains in their construction (e.g. on Windows, osrelease_info should probably be a split form of osversion), osrelease_info has extra empty strings.
Setup
N/A
on-prem machine
VM (Virtualbox, KVM, etc. please specify)
VM running on a cloud service, please be explicit and add details
container (Kubernetes, Docker, containerd, etc. please specify)
or a combination, please be explicit
jails if it is FreeBSD
classic packaging
onedir packaging
used bootstrap .MSI to install
Steps to Reproduce the behavior
# salt --out=json 'WIN*' grains.items | grep -Ev '^jid:' | jq '.[] | with_entries(if (.key|test("^(os|lsb)")) then ( {key: .key, value: .value } ) else empty end )'
Description
Aside from being weirdly divergent from other grains in their construction (e.g. on Windows,
osrelease_info
should probably be a split form ofosversion
),osrelease_info
has extra empty strings.Setup
N/A
bootstrap.MSI to installSteps to Reproduce the behavior
# salt --out=json 'WIN*' grains.items | grep -Ev '^jid:' | jq '.[] | with_entries(if (.key|test("^(os|lsb)")) then ( {key: .key, value: .value } ) else empty end )'
Expected behavior
osrelease_info
should not have an empty second element.Screenshots
N/A
Versions Report
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: