Skip to content

Commit

Permalink
Avoid resource defaults and set explicit parameters in qpid.pp
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Apr 7, 2021
1 parent 3ea34ec commit 3e9d871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/qpid.pp
Expand Up @@ -18,8 +18,6 @@
$nss_cert_name = 'broker',
) inherits certs {

Exec { logoutput => 'on_failure' }

$qpid_cert_name = "${hostname}-qpid-broker"

cert { $qpid_cert_name:
Expand Down Expand Up @@ -77,11 +75,13 @@
command => "openssl pkcs12 -in ${client_cert} -inkey ${client_key} -export -out '${pfx_path}' -password 'file:${nss_db_password_file}' -name '${nss_cert_name}'",
path => '/usr/bin',
refreshonly => true,
logoutput => 'on_failure',
} ~>
exec { 'add-private-key-to-nss-db':
command => "pk12util -i '${pfx_path}' -d '${nss_db_dir}' -w '${nss_db_password_file}' -k '${nss_db_password_file}'",
path => '/usr/bin',
refreshonly => true,
logoutput => 'on_failure',
}
}
}

0 comments on commit 3e9d871

Please sign in to comment.