-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
135 additions
and
54 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
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 |
---|---|---|
@@ -1,5 +1,17 @@ | ||
--- | ||
# PuppetCA management | ||
# Can be true, false, or http/https to enable just one of the protocols | ||
:enabled: <%= @module_enabled %> | ||
<% unless scope.lookupvar("foreman_proxy::puppetca_split_configs") -%> | ||
:ssldir: <%= scope.lookupvar("foreman_proxy::ssldir") %> | ||
<% end -%> | ||
|
||
# valid providers: | ||
# - puppetca_hostname_whitelisting (verify CSRs based on a hostname whitelist) | ||
# - puppetca_token_whitelisting (verify CSRs based on a token whitelist) | ||
:use_provider: <%= scope.lookupvar("foreman_proxy::puppetca_provider") %> | ||
<% if scope.lookupvar("foreman_proxy::puppetca_split_configs") -%> | ||
|
||
# Puppet version used | ||
:puppet_version: <%= @puppetversion %> | ||
<% end -%> |
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,8 @@ | ||
--- | ||
# URL of the puppet master itself for API requests. | ||
:puppet_url: <%= scope.lookupvar("foreman_proxy::puppet_url") %> | ||
# | ||
# SSL certificates used to access the CA API. | ||
:puppet_ssl_ca: <%= scope.lookupvar("foreman_proxy::puppet_ssl_ca") %> | ||
:puppet_ssl_cert: <%= scope.lookupvar("foreman_proxy::puppet_ssl_cert") %> | ||
:puppet_ssl_key: <%= scope.lookupvar("foreman_proxy::puppet_ssl_key") %> |
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,4 @@ | ||
--- | ||
:ssldir: <%= scope.lookupvar("foreman_proxy::ssldir") %> | ||
#:puppetca_use_sudo: true | ||
#:sudo_command: /usr/bin/sudo |