cookbook 'reginjector', '~> 0.2.0'
reginjector (3) Versions 0.2.0 Follow3
Installs/Configures reginjector to push registry changes to Windows machines
cookbook 'reginjector', '~> 0.2.0', :supermarket
knife supermarket install reginjector
knife supermarket download reginjector
Description
It is a straightforward exercise to manage windows registry changes by either exporting or just writing out the registry changes to templates and then using a batch file wrapper around regedit to inject them into the registry. Updates to the registry files will cause them to be reinjected. Batch file was necessary for early versions of chef and windows; later versions of chef and windows work with the new "batch" resource.
Requirements
This cookbook does not have any other dependencies than regedit. It should work on all versions of windows, without exception. Versions of this cookbook prior to 0.2.0 did not work properly with 64bit windows OS'; however, that has been fixed with Chef version 11.6.0+ and reginjector >= 0.2.0.
Attributes
Minimal. I deploy a small number of registry changes across the board, and they are stored in an attribute array on the nodes.
Usage
Add the default recipe to your run_list. Add appropriately formatted .reg files to the templates directory, and then update the payload array to deploy them.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Collaborator Number Metric
0.2.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 failed this metric
FC043: Prefer new notification syntax: reginjector/recipes/injection.rb:72
FC043: Prefer new notification syntax: reginjector/recipes/v2-injection.rb:50
FC064: Ensure issues_url is set in metadata: reginjector/metadata.rb:1
FC065: Ensure source_url is set in metadata: reginjector/metadata.rb:1
FC066: Ensure chef_version is set in metadata: reginjector/metadata.rb:1
FC069: Ensure standardized license defined in metadata: reginjector/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.2.0 failed this metric
FC043: Prefer new notification syntax: reginjector/recipes/injection.rb:72
FC043: Prefer new notification syntax: reginjector/recipes/v2-injection.rb:50
FC064: Ensure issues_url is set in metadata: reginjector/metadata.rb:1
FC065: Ensure source_url is set in metadata: reginjector/metadata.rb:1
FC066: Ensure chef_version is set in metadata: reginjector/metadata.rb:1
FC069: Ensure standardized license defined in metadata: reginjector/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
FC043: Prefer new notification syntax: reginjector/recipes/v2-injection.rb:50
FC064: Ensure issues_url is set in metadata: reginjector/metadata.rb:1
FC065: Ensure source_url is set in metadata: reginjector/metadata.rb:1
FC066: Ensure chef_version is set in metadata: reginjector/metadata.rb:1
FC069: Ensure standardized license defined in metadata: reginjector/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.2.0 passed this metric
Testing File Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.2.0 failed this metric
0.2.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number