We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0923612 commit f14b608Copy full SHA for f14b608
data/virtualization/kvm.yaml
@@ -1,6 +1,10 @@
1
---
2
# Config data for virtual machines running under KVM, including Linodes.
3
4
+lookup_options:
5
+ profile::vms::kvm::linode::longview_api_key:
6
+ convert_to: Sensitive
7
+
8
classes:
9
- profile::vms::kvm
10
local-modules/profile/manifests/vms/kvm/linode.pp
@@ -5,7 +5,7 @@
# Longview API key.
#
class profile::vms::kvm::linode (
- String[1] $longview_api_key,
+ Sensitive[String[1]] $longview_api_key,
) {
apt::source { 'linode-longview':
11
location => 'https://apt-longview.linode.com/',
@@ -29,7 +29,7 @@
29
group => root,
30
mode => '0400',
31
content => @("EOT"),
32
- ${longview_api_key}
+ ${longview_api_key.unwrap}
33
| EOT
34
}
35
-> service { 'longview':
0 commit comments