forked from theforeman/puppet-puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #15132 - support services.d/ configuration in Puppet Server 2.5 (…
…theforeman#402) PS 2.5 moves CA configuration from bootstrap.cfg to a services.d/ca.cfg file, separating user config (CA) from app config (e.g. versioned code service). This is now configured instead of bootstrap.cfg when the server_puppetserver_version parameter is set to 2.5. A special version value of 2.4.99 (now the default) configures both the 2.4 and 2.5 files simultaneously, creating both bootstrap.cfg and services.d/ca.cfg so the module works across both versions, albeit with logged warnings about duplicate CA definitions. This ensures the module will still work on the release of 2.5, after which time the parameter default can be changed to 2.5.0 to remove the duplicate configuration.
- Loading branch information
Showing
6 changed files
with
225 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# To enable the CA service, leave the following line uncommented | ||
<%= '#' unless @server_ca -%>puppetlabs.services.ca.certificate-authority-service/certificate-authority-service | ||
# To disable the CA service, comment out the above line and uncomment the line below | ||
<%= '#' if @server_ca -%>puppetlabs.services.ca.certificate-authority-disabled-service/certificate-authority-disabled-service | ||
|