On Feb 1, 2011 8:24 AM, "David Schmitt" <[email protected]> wrote:
> On 31.01.2011 20:11, Daniel Pittman wrote:
>> On Mon, Jan 31, 2011 at 10:50, Thomas Bellman<[email protected]>  wrote:

[…]

>>> Posix has this rule to accomodate DomainOS, which was a Unix-
>>> like OS from Apollo, where paths on the form "//foo/bar/gazonk"
>>> meant the file "/bar/gazonk" on the machine named "foo".  You may
>>> recognize this format from URLs, or MS Windows SMB paths (with
>>> backslashes instead of forward slashes).
>>
>>
>> Hah.  You pipped me to the pedantic post, as I was working on this.
>>
>>> You should however not take this as me thinking the change is bad.
>>> I actually think it is quite reasonable to allow such paths in
>>> file resources.  But maybe the commit message could be better. :-)
>>
>>
>> I was going to drop this in because it behaves correctly as far as end
>> users are concerned; I am going to additionally drop in a test to
>> verify that we preserve the double-slash at the start of the path.
>> (Currently pending, since I don't want to audit the entire codebase
>> yet.)
>>
>> Now available in 2.6.next, along with the appropriate tests.
>
> Please do consider windows support too, which actually uses an inital
double slash to detect UNC paths.

Part of my long term goal is to better unify the POSIX and Win32 path
support more in the code, but generally we handle both as separate entities
at the moment.

Regards,
    Daniel
-- 
Puppet Labs Developer –http://puppetlabs.com
Daniel Pittman <[email protected]>
Contact me via gtalk, email, or phone: +1 (877) 575-9775
Sent from a mobile device. Please forgive me if this is briefer than usual.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to