Reduce ceph::key.pp warnings

A second pass to reduce the puppet about unused variables. Unused
variables are set to ''. No functionality changes.

Change-Id: Ia82d6b130c4eb948922dc5255ec29dde2279a15d
This commit is contained in:
Keith Schincke 2017-02-06 11:39:15 -05:00
parent b1fa5e4445
commit dba788f010

View File

@ -145,10 +145,16 @@ exit \$rv",
if $inject_as_id {
$inject_id_option = " --name '${inject_as_id}' "
}
else {
$inject_id_option = ''
}
if $inject_keyring {
$inject_keyring_option = " --keyring '${inject_keyring}' "
}
else {
$inject_keyring_option = ''
}
Ceph_config<||> -> Exec["ceph-injectkey-${name}"]
Ceph::Mon<||> -> Exec["ceph-injectkey-${name}"]