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 class to generate configs #116

Merged
merged 5 commits into from
Dec 16, 2020
Merged

Conversation

trefzer
Copy link
Contributor

@trefzer trefzer commented Dec 3, 2020

The new class openssl::configs create openssl.conf files.
The generation bases on a new .epp template since epp can
use parameters which was easier to integrate.

closes: #41

@puppet-community-rangefinder
Copy link

openssl::configs is a class

that may have no external impact to Forge modules.

This module is declared in 2 of 575 indexed public Puppetfiles.


These results were generated with Rangefinder, a tool that helps predict the downstream impact of breaking changes to elements used in Puppet modules. You can run this on the command line to get a full report.

Exact matches are those that we can positively identify via namespace and the declaring modules' metadata. Non-namespaced items, such as Puppet 3.x functions, will always be reported as near matches only.

# dpendencies: ensure config file is generated before potential usage
File<| tag=='openssl-configs' |> -> Ssl_pkey<| |>
File<| tag=='openssl-configs' |> -> X509_cert<| |>
File<| tag=='openssl-configs' |> -> X509_request<| |>
Copy link
Member

Choose a reason for hiding this comment

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

I believe #117 makes this moot, as each type now autorequires its config file.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ack

manifests/configs.pp Outdated Show resolved Hide resolved
manifests/configs.pp Outdated Show resolved Hide resolved
manifests/configs.pp Outdated Show resolved Hide resolved
The new class openssl::configs create openssl.conf files.
The generation bases on a new .epp template since epp can
use parameters which was easier to integrate.

closes: voxpupuli#41
trefzer and others added 4 commits December 16, 2020 09:39
Co-authored-by: Raphaël Pinson <github+aem1eeshi1@raphink.net>
Co-authored-by: Raphaël Pinson <github+aem1eeshi1@raphink.net>
Co-authored-by: Raphaël Pinson <github+aem1eeshi1@raphink.net>
@raphink raphink merged commit e0f0b93 into voxpupuli:master Dec 16, 2020
@trefzer trefzer deleted the fix_add_configs_class branch December 17, 2020 12:11
trefzer added a commit to cirrax/puppet-openssl that referenced this pull request Dec 18, 2020
That was a bit fast to remove...

this reverts ae510aa
from pull request voxpupuli#116 (remove dependencies since we have autorequire)
and adds the dependencies between openssl config file and cert generations.

the autorequire mentioned in the the original commit, meant the
newly available autorequire in the defined types. But that one is
an autorequire for the directory where we put the file to generate, not
the configuration file !
raphink pushed a commit that referenced this pull request Jan 12, 2021
That was a bit fast to remove...

this reverts ae510aa
from pull request #116 (remove dependencies since we have autorequire)
and adds the dependencies between openssl config file and cert generations.

the autorequire mentioned in the the original commit, meant the
newly available autorequire in the defined types. But that one is
an autorequire for the directory where we put the file to generate, not
the configuration file !
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parameters for openssl.cnf
2 participants