We believe this has something to do with puppet inserting strings that are 
not null terminated, but I've had no luck at all adding termination to the 
string...  have tried single and double quoting it.  \x0 \00 \000 so many 
types of termination tried but nothing seems to do the trick...



On Thursday, April 23, 2015 at 5:45:04 PM UTC-5, Mark Wolek wrote:
>
> Go figure, the very first thing I try to do in Puppet may be a bug!
>
> Attempting to create a registry value of type array does not work properly 
> when a "-" is in one of the strings being added.
>
> registry_value { 'HKLM\Software\Microsoft\Rpc\Internet\Ports':
> ensure => present,
> type => array,
> data => ['6500-7000']
> }
>
>
>
> Results in this:
>
> PS C:\Users\Administrator> Get-ItemProperty 
> 'HKLM:\Software\microsoft\Rpc\Internet'
>
> Ports                  : {6500-7000, ?}
>
>
> Using the GUI to look at the registry, results in a bunch of random words 
> and characters being appended to the end.
>
> Simply opening the registry value in the GUi and clicking OK without 
> actually changing anything resolves this.
>
> I've tested this quite a bit trying to troubleshoot, and it seems 
> specifically related to the dash / hyphen character being in the string.
>

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/26e58aa9-61a9-46ef-8dff-6617dd38f4c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to