On 2014-07-03 22:04, Rob Reynolds wrote:
RegardingYou 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 <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.
There is a special place where people who redefine core facts should go. 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-dev/53B70922.8030902%40dasz.at. For more options, visit https://groups.google.com/d/optout.
