On Thu, Jul 3, 2014 at 3:01 PM, David Schmitt <da...@dasz.at> wrote: > 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. >
Unless someone defines it as a custom fact :( Most likely they wouldn't, so that would less branching. > > > 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. > -- Rob Reynolds Developer, Puppet Labs *Join us at PuppetConf 2014 <http://www.puppetconf.com/>, September 20-24 in San Francisco* *Register by July 31st to take advantage of the Early Bird discount <https://puppetconf2014.eventbrite.com/?discount=EarlyBird> **--**save $249!* -- 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/CAMJiBK76KU06x9M0wsasBT8B9gEN-rOHBFVJJsa7VKY9yGp7uw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.