Issue #8657 has been updated by Josh Cooper.
Using UNC paths for `package` `source` is supported in 2.7.12 and up:
<pre>
C:\work\puppet>envpuppet puppet resource package Orca ensure=present
source=\\localhost\C$\work\modules\orca\files\orca-5.0.7069.msi
notice: /Package[Orca]/ensure: created
package { 'Orca':
ensure => 'installed',
}
</pre>
Using UNC paths as `file` `source` does not (since the path doesn't start with
a drive letter, puppet thinks it's a posix path.
<pre>
C:\work\puppet>envpuppet puppet resource file c:\test.msi ensure=present
source=\\localhost\C$\work\modules\orca\files\orca-5.0.7069.msi
err: /File[c:\test.msi]: Could not evaluate: No such file or directory -
/localhost/C$
Could not retrieve file metadata for file://localhost/C$: No such file or
directory - /localhost/C$
Could not run: No such file or directory - /localhost/C$ Could not retrieve
file metadata for file://localhost/C$: No such file or directory - /localhost/C$
</pre>
----------------------------------------
Feature #8657: Support Windows UNC paths
https://projects.puppetlabs.com/issues/8657#change-69575
Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee:
Category: windows
Target version:
Affected Puppet version: 2.7.6
Keywords: windows unc file path
Branch:
Puppet does not currently handle Windows UNC paths, but it would be useful in
several places, such as exec path and file path, as well as
Puppet::Parameter::Path. Adding support should be fairly straightforward once
the work to refactor how paths are validated is completed.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en.