Bug 740050 - sysconfig.run_uri with file location fails on Fedora
Summary: sysconfig.run_uri with file location fails on Fedora
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: matahari
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Russell Bryant
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-20 19:21 UTC by Dave Johnson
Modified: 2011-09-20 19:45 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-20 19:45:52 UTC


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.