Bug 740050

Summary: sysconfig.run_uri with file location fails on Fedora
Product: [Fedora] Fedora Reporter: Dave Johnson <dajohnso>
Component: matahariAssignee: Russell Bryant <rbryant>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: adam.stokes, andrew, dpierce, imain, matahari-maint, nsantos, rbryant, roy.arjun
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-20 19:45:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dave Johnson 2011-09-20 19:21:27 UTC
Description of problem:
================================
Calling run_uri with a file:/// uri fails when agent is running on Fedora return invalid arguments however this call works on Rhel. 

running in debug mode shows:
sysconfig_os_download: curl request for URI 'file:///var/www/html/sysconfig-test' got response 0

[root@localhost tests]# curl file:///var/www/html/sysconfig-test
file { "/var/www/html/sysconfig-test":
    owner => root, group => root, mode => 440
}

Version-Release number of selected component (if applicable):
================================================================
v0.4.5-0.1

How reproducible:
================================
100%

Steps to Reproduce:
================================
1.   sysconfig.run_uri('file:///, 0, 'puppet', 'myKey')

Comment 2 Russell Bryant 2011-09-20 19:45:52 UTC
Fixed upstream, will be in the next Fedora build:

https://github.com/matahari/matahari/commit/9853d88c1378ee682ecdf3a4d7eb7e420f18b4ae