Showing with 1,712 additions and 2,506 deletions.
  1. +1 −0 .fixtures.yml
  2. +3 −3 .gitattributes
  3. +20 −0 .github/pull_request_template.md
  4. +15 −16 .gitignore
  5. +88 −498 .rubocop.yml
  6. 0 .rubocop_todo.yml
  7. +3 −6 .travis.yml
  8. +73 −228 CHANGELOG.md
  9. +138 −84 CONTRIBUTING.md
  10. +17 −100 Gemfile
  11. +111 −41 README.markdown
  12. +0 −2 Rakefile
  13. +0 −11 acceptance/.beaker-git.cfg
  14. +0 −11 acceptance/.beaker-pe.cfg
  15. +0 −17 acceptance/config/masterless-windows-2008-x86_64.cfg
  16. +0 −17 acceptance/config/masterless-windows-2008r2-x86_64.cfg
  17. +0 −17 acceptance/config/masterless-windows-2012-x86_64.cfg
  18. +0 −17 acceptance/config/masterless-windows-2012r2-x86_64.cfg
  19. +0 −23 acceptance/config/windows-2003r2-i386.cfg
  20. +0 −23 acceptance/config/windows-2003r2-x86_64.cfg
  21. +0 −23 acceptance/config/windows-2008r2-x86_64.cfg
  22. +0 −23 acceptance/config/windows-2012-x86_64.cfg
  23. +0 −2 acceptance/lib/systest.rb
  24. +0 −4 acceptance/lib/systest/util.rb
  25. +0 −232 acceptance/lib/systest/util/registry.rb
  26. +0 −19 acceptance/setup/install_puppet.rb
  27. +0 −161 acceptance/tests/resource/registry/should_create_key.rb
  28. +0 −89 acceptance/tests/resource/registry/should_have_defined_type.rb
  29. +0 −323 acceptance/tests/resource/registry/should_manage_values.rb
  30. +0 −158 acceptance/tests/resource/registry/should_tolerate_mixed_case.rb
  31. +8 −5 appveyor.yml
  32. +15 −11 lib/puppet/provider/registry_key/registry.rb
  33. +45 −23 lib/puppet/provider/registry_value/registry.rb
  34. +5 −2 lib/puppet/type/registry_key.rb
  35. +3 −2 lib/puppet/type/registry_value.rb
  36. +79 −33 lib/puppet_x/puppetlabs/registry.rb
  37. +0 −229 lib/puppet_x/puppetlabs/registry/provider_base.rb
  38. +26 −0 locales/config.yaml
  39. +6 −14 manifests/value.pp
  40. +2 −10 metadata.json
  41. +15 −7 spec/acceptance/nodesets/default.yml
  42. +145 −0 spec/acceptance/should_create_key_spec.rb
  43. +91 −0 spec/acceptance/should_have_defined_type_spec.rb
  44. +324 −0 spec/acceptance/should_manage_values_spec.rb
  45. +156 −0 spec/acceptance/should_tolerate_mixed_case_spec.rb
  46. +25 −0 spec/classes/mixed_default_settings_spec.rb
  47. +41 −0 spec/defines/value_spec.rb
  48. +13 −0 spec/fixtures/mixed_default_settings/manifests/init.pp
  49. +0 −7 spec/spec_helper.rb
  50. +57 −0 spec/spec_helper_acceptance.rb
  51. +88 −3 spec/unit/puppet/provider/registry_value_spec.rb
  52. +31 −7 spec/unit/puppet/type/registry_key_spec.rb
  53. +68 −5 spec/unit/puppet/type/registry_value_spec.rb
1 change: 1 addition & 0 deletions .fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
fixtures:
symlinks:
registry: "#{source_dir}"
mixed_default_settings: "#{source_dir}/spec/fixtures/mixed_default_settings"
6 changes: 3 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#This file is generated by ModuleSync, do not edit.
*.rb eol=lf
*.rb eol=lf
*.erb eol=lf
*.pp eol=lf
*.sh eol=lf
*.pp eol=lf
*.sh eol=lf
20 changes: 20 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!--
BEFORE YOU CREATE A PULL REQUEST:
Ensure you have read over
CONTRIBUTING - https://github.com/puppetlabs/puppetlabs-registry/blob/master/CONTRIBUTING.md
We provide defined guidance (as such, we strongly adhere to it).
A summary of our expectations:
- A ticket was created at https://tickets.puppetlabs.com/secure/CreateIssueDetails!init.jspa?pid=10707&issuetype=1&components=11482&summary=%5BREGISTRY%5D%20, or you have an existing ticket #
- You are not submitting a pull request from your MASTER branch.
- The first line of your git commit message has the ticket # and a short summary of the fix, followed by a detailed explanation of the fix in the git commit body.
- Your git commit message format is important. We have a very defined expectation for this format and are keep to it. Really, READ the entire Contributing document. It will save you and us time.
- Do not reformat code, it makes it hard to see what has changed. Leave the formatting to us.
THANKS! We appreciate you reading the entire Contributing document and not just scanning through it.
DELETE EVERYTHING IN THIS COMMENT BLOCK
-->
31 changes: 15 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
#This file is generated by ModuleSync, do not edit.
pkg/
Gemfile.lock
Gemfile.local
vendor/
spec/fixtures/manifests/
spec/fixtures/modules/
log/
junit/
.vagrant/
# This file is generated by ModuleSync, do not edit.
*.iml
.*.sw[op]
.DS_Store
.bundle/
coverage/
log/
.idea/
.metadata
*.iml
.*.sw[op]
.vagrant/
.yardoc
.yardwarns
.DS_Store
Gemfile.local
Gemfile.lock
bin/
coverage/
doc/
junit/
log/
pkg/
spec/fixtures/manifests/
spec/fixtures/modules/
tmp/
vendor/
doc/

Loading