diff --git a/manifests/key.pp b/manifests/key.pp index 5177bf20..911df1a9 100644 --- a/manifests/key.pp +++ b/manifests/key.pp @@ -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}"]