Issue #13197 has been updated by Josh Cooper.

Thanks Paul, nicely done. Please do let us know about the CLA, I'd love to see 
this published to the forge, as I know someone else has been working on the 
same thing, and run into the caching issue you're seeing. Speaking of which, 
this page may shed some light on what you're seeing 
<http://msdn.microsoft.com/en-us/library/windows/desktop/ms685143(v=vs.85).aspx>

Btw, puppet will automagically create a method named `net` that you can just 
call in your provider. It takes a array of parameters and joins them, and 
returns the output of the command, also more magic. So you can just do:

<pre>
output = net("use", local, remote)
</pre>

One of the benefits is that it goes through Puppet's common execution handling 
code, e.g. puppet will display what commands it's executing when you run with 
`--debug`.
----------------------------------------
Feature #13197: Windows mount provider (smb/cifs)
https://projects.puppetlabs.com/issues/13197#change-75332

Author: Josh Cooper
Status: Accepted
Priority: Normal
Assignee: 
Category: windows
Target version: 
Affected Puppet version: 
Keywords: windows mount cifs smb
Branch: 


Since UNC paths are not supported and packages cannot be sourced from the 
puppet master directly (instead you have to create a file resource whose source 
is the puppet master and then install the package from the local file), it 
would be nice to have a mount provider on Windows that could mount network 
shares, e.g. net use z:.


-- 
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.

Reply via email to