Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1317325

Summary: Puppet keeps logging "sh: vdsmdummy: command not found" when ifconfig ';vdsmdummy;'
Product: Red Hat Satellite Reporter: Shinobu KINJO <skinjo>
Component: FactAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 6.1.7CC: bkearney, satellite6-bugs, tpapaioa
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-22 21:05:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Shinobu KINJO 2016-03-14 00:58:21 UTC
# Description of problem:
######

When we do:

 ~$ ifconfig ';vdsmdummy;'

the puppet logs:

 sh: vdsmdummy: command not found


Probably it's good enough to enclose #{interface} in single quotes in ip.rb located at "lib/facter/util".

Only this line:

 lib/facter/util/ip.rb#130
 output = Facter::Util::IP.exec_ifconfig([interface,"2>/dev/null"])

is a bit different.
interface becomes #{interface} then will be transformed to "'#{interface}'".

AFAIK: it's fixed in ★facter-2.4.3-3.el7★ but ★facter-1.7.6-2.el6sat★ -;
Please do very small change...

# Version-Release number of selected component (if applicable):
######

Name        : facter
Arch        : x86_64
Epoch       : 1
Version     : 1.7.6
Release     : 2.el6sat
Size        : 238 k
Repo        : installed
From repo   : rhel-6-server-satellite-6.1-rpms
Summary     : Ruby module for collecting simple facts about a host operating system
URL         : http://www.puppetlabs.com/puppet/related-projects/facter
License     : ASL 2.0
Description : Ruby module for collecting simple facts about a host Operating
            : system. Some of the facts are preconfigured, such as the hostname and the
            : operating system. Additional facts can be added through simple Ruby scripts

# How reproducible:
######

# Steps to Reproduce:
######
1.
2.
3.

# Actual results:
######

# Expected results:
######

# Additional info:
######

Comment 1 Bryan Kearney 2016-04-22 21:05:12 UTC
Satellite 6.2 will be delivering facter 2.4.6. I am closing this out as NEXT_RELEASE since we will not be backporting changes to facter.