On Mon, Aug 18, 2014 at 6:24 PM, badgerious <[email protected]> wrote:

> On Monday, August 18, 2014 10:51:35 AM UTC-5, Rob Reynolds wrote:
>>
>> This works great as long as the registry key is of type REG_EXPAND_SZ[1]
>> value, but the key for Path[2] is set to REG_SZ.
>>
>
> Interesting; all the systems I looked at were REG_EXPAND_SZ. It looks like
> if you insert a %variable% via the GUI, Windows will change it from REG_SZ
> to REG_EXPAND_SZ for you (and back again if you remove all the
> %variables%).
>

Interesting, I didn't realize that. :)


> I wonder if the windows_env puppet module should do that?
>
> I've done the %variable% in path before without issue and did a quick test
> before posting, but some further curiosity fueling googling suggests there
> may be gotchas that I was not previously aware of. To the OP: I'd be
> interested to hear if you have any such issues.
>
> Eric
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" 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-users/46ffe10b-d5f3-4d01-ab1f-86208de831ee%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/46ffe10b-d5f3-4d01-ab1f-86208de831ee%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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 September 8th to take advantage of the Final Countdown
<https://www.eventbrite.com/e/puppetconf-2014-tickets-7666774529?discount=FinalCountdown>
*
*--**save $149!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users/CAMJiBK52%3DvcoY44RtDrpv6pYw-E9-KSCB-BaUfHZif2_m%3DOc7w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to