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

Icinga2 binary not found on Debian and FreeBSD #371

Closed
cfoehrdes opened this issue Sep 6, 2017 · 5 comments
Closed

Icinga2 binary not found on Debian and FreeBSD #371

cfoehrdes opened this issue Sep 6, 2017 · 5 comments
Assignees
Labels
Milestone

Comments

@cfoehrdes
Copy link

cfoehrdes commented Sep 6, 2017

Currently the icinga2 binary is not found on Debian jessie. Caused by the changes merged with PR #369 which sets $bin_dir = '/sbin' for all Linux distributions but the binary is located in /usr/sbin.

This results in errors like:

Error: Could not find command 'icinga2'
Error: /Stage[main]/Icinga2::Feature::Api/Exec[icinga2 pki create key]/returns: change from 'notrun' to ['0'] failed: Could not find command 'icinga2'
@lbetz lbetz added the bug label Sep 6, 2017
@lbetz lbetz self-assigned this Sep 6, 2017
@lbetz
Copy link
Contributor

lbetz commented Sep 6, 2017

Thx. Has to be done for Suse and FreeBSD, too.

@lbetz lbetz changed the title Icinga2 binary not found on Debian Icinga2 binary not found on Debian and FreeBSD Sep 6, 2017
@cfoehrdes
Copy link
Author

Are you on it? If you want I can submit a PR

@lbetz
Copy link
Contributor

lbetz commented Sep 6, 2017

yes, I'm working on it. But I donno the path of icinga2 on freebsd?

@cfoehrdes
Copy link
Author

Sorry, no idea what it is on BSD

@lbetz
Copy link
Contributor

lbetz commented Sep 6, 2017

done. pr ##372

@lbetz lbetz added this to the v1.3.1 milestone Sep 6, 2017
@lbetz lbetz closed this as completed in d27c07a Sep 8, 2017
lbetz added a commit that referenced this issue Sep 8, 2017
…ebian-and-FreeBSD-371

fix #371, add binary path to icinga2 for Debian, SuSE and FreeBSD
n00by pushed a commit to n00by/puppet-icinga2 that referenced this issue Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants