Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(#14529) Add registry::value defined type #16

Merged

Commits on May 16, 2012

  1. (#14529) Add registry::value defined type

    Without this patch we don't have an easy to use way to abstract away the
    management of a value and the key it's in.
    
    This patch fixes the problem by creating a new defined resource type in
    Puppet that builds on top of the native `registry_key` and
    `registry_value` resource types.
    
    This registry::value type allows the user to manage values without
    worrying about also managing the key the value exists in.  For example:
    
        registry::value { 'MyAPP - Owner Email':
          key   => 'HKLM\Software\Puppet Labs',
          value => 'Owner Email',
          data  => 'jeff@puppetlabs.com',
        }
    
    This resource will automatically manage the parent key if it does not
    exist and manage the value.  The key and value will be created in the
    native architecture of the hive.  That is to say, the 64 bit hive on a
    64 bit system and the 32 bit hive on a 32 bit system.
    Jeff McCune committed May 16, 2012
    Copy the full SHA
    bf44208 View commit details
    Browse the repository at this point in the history