Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Add tests, content instead of source logic, and ensure support #6

Merged
merged 1 commit into from
Sep 6, 2016

Conversation

coreone
Copy link
Member

@coreone coreone commented Sep 2, 2016

  • Add .rspec for better test output
  • Add the ability to pass certificate/key data in as "content"
  • Add "ensure" to certs::site so that we can remove certs/keys as well
  • Fix bug with service notification code
  • Add beginning spec tests for certs::site
  • Fix cert/key source issue, and add placeholder to site spec
  • Add the ability to add chain or ca by content
  • Add SPEC tests for ca/chain files
  • Add SPEC tests for merging certificate with chain/ca
  • Add lots more tests


if $cert_chain {
file { "${_chain_path}/${chain}":
ensure => $ensure,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't add the absent piece for CA/chain because I don't know what would happen if you have more than one site defined. If one site has ensure present, and another has ensure absent, which would win for the CA/chain files?

* Add the ability to pass certificate/key data in as "content"
* Add "ensure" to certs::site so that we can remove certs/keys as well
* Fix bug with service notification code
* Add beginning spec tests for certs::site
* Fix cert/key source issue, and add placeholder to site spec
* Add the ability to add chain or ca by content
* Add SPEC tests for ca/chain files
* Add SPEC tests for merging certificate with chain/ca
* Add lots more tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant