Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spec tests for class pki #548

Closed
lbetz opened this issue May 20, 2019 · 0 comments
Closed

Fix spec tests for class pki #548

lbetz opened this issue May 20, 2019 · 0 comments
Assignees
Milestone

Comments

@lbetz
Copy link
Contributor

lbetz commented May 20, 2019

expected that the catalogue would contain Exec[create-icinga2-ca] with command set to "/usr/local/sbin/icinga2 pki new-ca" but it is set to ""/usr/local/sbin/icinga2" pki new-ca"

expected that the catalogue would contain Exec[icinga2 pki create certificate signing request] with command set to "/usr/local/sbin/icinga2 pki new-cert --cn host.example.org --key /var/lib/icinga2/certs/host.example.org.key --csr /var/lib/icinga2/certs/host.example.org.csr" but it is set to ""/usr/local/sbin/icinga2" pki new-cert --cn host.example.org --key /var/lib/icinga2/certs/host.example.org.key --csr /var/lib/icinga2/certs/host.example.org.csr"

expected that the catalogue would contain Exec[icinga2 pki sign certificate] with command set to "/usr/local/sbin/icinga2 pki sign-csr --csr /var/lib/icinga2/certs/host.example.org.csr --cert /var/lib/icinga2/certs/host.example.org.crt" but it is set to ""/usr/local/sbin/icinga2" pki sign-csr --csr /var/lib/icinga2/certs/host.example.org.csr --cert /var/lib/icinga2/certs/host.example.org.crt"

Quoting was new in version 2.1.0.

@lbetz lbetz added the bug label May 20, 2019
@lbetz lbetz added this to the 2.1.1 milestone May 20, 2019
@lbetz lbetz self-assigned this May 20, 2019
@lbetz lbetz closed this as completed in cf64641 May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant