The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #14503

Registry - registry_value binary type requires zero padding

Added by Jeff McCune almost 2 years ago. Updated 4 months ago.

Status:AcceptedStart date:05/15/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:registrySpent time:-
Target version:-
Keywords:windows Branch:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket is now tracked at: https://tickets.puppetlabs.com/browse/MODULES-420


Description

Overview

I notice we require zero padding for a binary value:

This does not work:

registry_value { 'HKLM\Software\Vendor\PuppetLabs\ValueBinary1':
  ensure => present,
  type => binary,
  data => 1,
}

But this does:

registry_value { 'HKLM\Software\Vendor\PuppetLabs\ValueBinary2':
  ensure => present,
  type => binary,
  data => '01',
}

Related issues

Related to Puppet Labs Modules - Feature #13006: Windows registry provider. Closed 03/07/2012

History

#1 Updated by Josh Cooper almost 2 years ago

  • Project changed from 57 to Puppet Labs Modules
  • Target version deleted (276)

#2 Updated by Josh Cooper almost 2 years ago

  • Category set to registry

#3 Updated by Josh Cooper almost 2 years ago

  • Status changed from Unreviewed to Accepted

#4 Updated by Josh Cooper 7 months ago

  • Keywords set to windows

#5 Updated by Josh Cooper 4 months ago

Redmine Issue #14503 has been migrated to JIRA:

https://tickets.puppetlabs.com/browse/MODULES-420

Also available in: Atom PDF