Jira (FACT-3128) virt-what contain bashisms

4 views
Skip to first unread message

Simon Deziel (Jira)

unread,
Jun 18, 2022, 5:08:02 PM6/18/22
to puppe...@googlegroups.com
Simon Deziel created an issue
 
Facter / Bug FACT-3128
virt-what contain bashisms
Issue Type: Bug Bug
Affects Versions: FACT 3.14.22
Assignee: Unassigned
Components: Facter 3
Created: 2022/06/18 2:07 PM
Priority: Normal Normal
Reporter: Simon Deziel

The vendored version of virt-what shipped by Facter 3.14.23 (puppet-agent 6.27.1-1focal) is configured to run with '/bin/sh':

 

$ head -n1 /opt/puppetlabs/puppet/bin/virt-what
#!/bin/sh -

But it contains bashisms ("[["):

# /opt/puppetlabs/puppet/bin/virt-what
/opt/puppetlabs/puppet/bin/virt-what: 363: [[: not found

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)
Atlassian logo

Michael Hashizume (Jira)

unread,
Jun 21, 2022, 4:08:02 PM6/21/22
to puppe...@googlegroups.com
Michael Hashizume commented on Bug FACT-3128
 
Re: virt-what contain bashisms

Hi sdeziel ,

Thank you for filing this ticket. These changes would need to be made upstream in the virt-what project, please follow up with them.

Thank you

Reply all
Reply to author
Forward
0 new messages