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

Allow wildcard domains for certonly::domains #142

Merged
merged 1 commit into from
Oct 20, 2018

Conversation

Wimmesberger
Copy link

Pull Request (PR) description

The current datatype Array[Stdlib::Host] for certonly::domains is too strict and does not allow for domains containing asterisks to generate wildcard certificates.

My proposed change would be:
Array[Stdlib::Host] -> Array[String[1]]

Feel free to implement some other validation pattern in case Array[String[1]] is too loose.

Bonus: Added a case of *.example.com to spec test (excluding webroot plugin since you need the DNS-01 challenge)

… wildcard domains

Added *.example.com to spec test
@juniorsysadmin juniorsysadmin added the enhancement New feature or request label Oct 20, 2018
@juniorsysadmin juniorsysadmin merged commit 68dcfdb into voxpupuli:master Oct 20, 2018
@juniorsysadmin
Copy link
Member

juniorsysadmin commented Oct 20, 2018

@Wimmesberger The e-mail address for your commit does not match your GitHub account. It is preferable for Voxpupuli Pull Requests that it does.

@Dan33l
Copy link
Member

Dan33l commented Jan 14, 2019

@Wimmesberger Thank you.
Your PR is now release on the puppet forge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants