Skip to content

Commit

Permalink
Allow Sensitive type for password in cli.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rjd1 committed Jan 3, 2025
1 parent 6466a17 commit e384801
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion manifests/cli.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
Optional[Stdlib::HTTPUrl] $pulpcore_url = undef,
String $version = 'installed',
Optional[String] $username = undef,
Optional[String] $password = undef,
Optional[Variant[Sensitive[String], String]] $password = undef,
Optional[String] $cert = undef,
Optional[String] $key = undef,
Optional[String] $api_root = undef,
Expand Down
16 changes: 8 additions & 8 deletions templates/cli-config.toml.epp
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<%- |
Optional[Stdlib::HTTPUrl] $base_url = undef,
Optional[String] $username = undef,
Optional[String] $password = undef,
Optional[String] $cert = undef,
Optional[String] $key = undef,
Optional[String] $api_root = undef,
Optional[Boolean] $verify_ssl = undef,
Optional[Boolean] $dry_run = undef,
Optional[Stdlib::HTTPUrl] $base_url = undef,
Optional[String] $username = undef,
Optional[Variant[Sensitive[String], String]] $password = undef,
Optional[String] $cert = undef,
Optional[String] $key = undef,
Optional[String] $api_root = undef,
Optional[Boolean] $verify_ssl = undef,
Optional[Boolean] $dry_run = undef,
| -%>
[cli]
<% if $base_url { -%>
Expand Down

0 comments on commit e384801

Please sign in to comment.