So based on the conversation here, there is already an acceptable pattern
for defining root path that can be converted for Windows/non-Windows
systems that is deterministic and wouldn't suffer from possible
inexperience with Windows resources.

Based on that, I don't think this is something we should move forward with.


On Fri, Jul 4, 2014 at 1:05 PM, David Schmitt <[email protected]> wrote:

> On 2014-07-03 22:04, Rob Reynolds wrote:
>
>>     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
>>
>>         <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.
>



-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CAMJiBK4YsM2%3DOkjPjoKzWbUO0VFHX14vMfRZa1QLR%3D_R5tno6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to