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 ::icinga2::pki::ca for FreeBSD #276

Closed
bobapple opened this issue Apr 7, 2017 · 0 comments
Closed

Fix ::icinga2::pki::ca for FreeBSD #276

bobapple opened this issue Apr 7, 2017 · 0 comments
Assignees
Labels
Milestone

Comments

@bobapple
Copy link
Contributor

bobapple commented Apr 7, 2017

Running ::icinga2::pki::ca on FreeBSD (10 and 11) does not work properly.

==> i2freebsd11puppet4: Notice: Compiled catalog for i2freebsd11puppet4.int.netways.de in environment production in 1.30 seconds
==> i2freebsd11puppet4: Error: Could not find command 'icinga2'
==> i2freebsd11puppet4: Error: /Stage[main]/Icinga2::Pki::Ca/Exec[create-icinga2-ca]/returns: change from notrun to 0 failed: Could not find command 'icinga2'
==> i2freebsd11puppet4: Notice: /Stage[main]/Icinga2::Pki::Ca/File[/usr/local/etc/icinga2/pki/ca.crt]: Dependency Exec[create-icinga2-ca] has failures: true
==> i2freebsd11puppet4: Notice: Compiled catalog for i2freebsd11puppet4.int.netways.de in environment production in 1.29 seconds
==> i2freebsd11puppet4: Notice: /Stage[main]/Icinga2::Pki::Ca/Exec[create-icinga2-ca]/returns: executed successfully
==> i2freebsd11puppet4: Error: /Stage[main]/Icinga2::Pki::Ca/File[/usr/local/etc/icinga2/pki/ca.crt]: Could not evaluate: Could not retrieve information from environment production source(s) file:/var/icinga2/ca/ca.crt
==> i2freebsd11puppet4: Notice: /Stage[main]/Icinga2::Pki::Ca/Exec[icinga2 pki create certificate signing request]: Dependency File[/usr/local/etc/icinga2/pki/ca.crt] has failures: true

Currently I can see two issues:

  • $path varoable in create-icinga2-ca exec
  • $::icinga2::params::ca_dir variable is wrong for freebsd
@bobapple bobapple added the bug label Apr 7, 2017
@bobapple bobapple added this to the v1.2.1 milestone Apr 7, 2017
@bobapple bobapple self-assigned this Apr 7, 2017
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

1 participant