On 2014-07-03 16:59, Rob Reynolds wrote:
but then I've yet to use puppet on windows for more than the most
basic things, so I might be missing important use cases that just
haven't surfaced over here yet.


No, I think you are onto something. For external modules it wouldn't
be a good idea. But interestingly enough, before reading this I sort
of came to the same conclusion.
https://tickets.puppetlabs.com/browse/PUP-855?focusedCommentId=79712&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-79712
 so glad to see that it is already a pattern. :)

I'll update my comment to reflect your notes here.

Regarding

You can't create any fact that is going to allow you to set the path
like so "/temp/somedirectory" and use it across both windows and
*nix. Or can you?
https://tickets.puppetlabs.com/browse/PUP-855?focusedCommentId=79712&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-79712

$::systemdrive is empty on non-windows nodes, so "${::systemdrive}/tmp"
would "always" be a "valid" path.

My developer soul just died a little bit saying that.


Regards, David

--
You received this message because you are subscribed to the Google Groups "Puppet 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/53B5B6A6.8040500%40dasz.at.
For more options, visit https://groups.google.com/d/optout.

Reply via email to