-
Notifications
You must be signed in to change notification settings - Fork 272
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As a Preparation for making this Module "Sensitive"-aware, we prefer to use EPP instead of ERB in such Situations, where "Sensitive" could come into Play, as EPP is able to handle Data of Type Sensitive natively.
- Loading branch information
Showing
5 changed files
with
55 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<%- | | ||
Optional[Stdlib::HTTPUrl] $host, | ||
Boolean $use_sessions, | ||
Boolean $refresh_cache, | ||
Integer[-1] $request_timeout, | ||
Optional[Stdlib::Absolutepath] $ssl_ca_file, | ||
| -%> | ||
:foreman: | ||
# Enable/disable foreman commands | ||
:enable_module: true | ||
|
||
# Your foreman server address | ||
:host: '<%= $host %>' | ||
|
||
# Enable using sessions | ||
# When sessions are enabled, hammer ignores credentials stored in the config file | ||
# and asks for them interactively at the begining of each session. | ||
:use_sessions: <%= $use_sessions %> | ||
|
||
# Check API documentation cache status on each request | ||
:refresh_cache: <%= $refresh_cache %> | ||
|
||
# API request timeout in seconds, set -1 for infinity | ||
:request_timeout: <%= $request_timeout %> | ||
|
||
<% if $ssl_ca_file { -%> | ||
|
||
:ssl: | ||
:ssl_ca_file: '<%= $ssl_ca_file %>' | ||
<% } -%> |
This file was deleted.
Oops, something went wrong.
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 @@ | ||
<%- | | ||
Optional[String] $username, | ||
Optional[String] $password, | ||
| -%> | ||
:foreman: | ||
# Credentials. You'll be asked for the interactively if you leave them blank here | ||
:username: '<%= $username %>' | ||
:password: '<%= $password %>' |
This file was deleted.
Oops, something went wrong.