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

Add wildcard & bypass Intermediate Store support #84

Merged
merged 5 commits into from Oct 14, 2018

Conversation

arthurbarton
Copy link
Contributor

Pull Request (PR) description

  1. This PR adds 2 new flags:
  • wildcard
    There are some other pending PRs that implement this in much the same way.
    Setting this to true will add "MachineKeySet" to the key_storage_flags
    This has only been tested where the certificate is also a wildcard

  • interstore
    Setting this to true will store intermediate certs bundled into the chain in the target store_dir

There is a new test that just sets all the optional flags to true.

  1. Remove the template calls to Remove-Item

Now that #66 is merged, the invoked templates do not need to be removed each run.

  1. Version bump and include support for Server 2016

@arthurbarton arthurbarton changed the title Add wilcard & bypass Intermediate Store support Add wildcard & bypass Intermediate Store support Oct 3, 2018
@@ -74,11 +74,17 @@
String[1] $root_store = 'LocalMachine',
String[1] $store_dir = 'My',
Stdlib::Windowspath $scripts_dir = 'C:\temp',
Boolean $exportable = true
Boolean $exportable = true,
Optional[Boolean] $wildcard = false,
Copy link
Contributor

Choose a reason for hiding this comment

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

Does Optional[] make sense here? It's preferred to always initiate a Boolean with true or false and not allowing undef.

@arthurbarton
Copy link
Contributor Author

Good point - I've pushed a change, setting defaults to false (no change to current behavior)

@bastelfreak bastelfreak added the enhancement New feature or request label Oct 14, 2018
@bastelfreak
Copy link
Contributor

Thanks @arthurbarton !

@bastelfreak bastelfreak merged commit 3010c8d into puppetlabs:master Oct 14, 2018
@Ramesh7 Ramesh7 added the feature New Feature label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature New Feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants