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

icingaweb2::module::director::service systemd::unit_file param name error #272

Closed
jhoblitt opened this issue Aug 20, 2020 · 0 comments · Fixed by #273
Closed

icingaweb2::module::director::service systemd::unit_file param name error #272

jhoblitt opened this issue Aug 20, 2020 · 0 comments · Fixed by #273

Comments

@jhoblitt
Copy link
Member

The icingaweb2::module::director::service class fails to configure the systemd unit file as it is passing the template to the source parameter instead of the content param.

This is the typo:

  systemd::unit_file { 'icinga-director.service':
    source => template('icingaweb2/icinga-director.service.erb'),
    notify => Service['icinga-director'],
  }

Which results in this error:

Error: Failed to apply catalog: Parameter source failed on File[/etc/systemd/system/icinga-director.service]: Could not understand source 
@jhoblitt jhoblitt changed the title icingaweb2::module::director::service parameter name error in 2.4.0 icingaweb2::module::director::service systemd::unit_file param name error in 2.4.0 Aug 20, 2020
@lbetz lbetz changed the title icingaweb2::module::director::service systemd::unit_file param name error in 2.4.0 icingaweb2::module::director::service systemd::unit_file param name error Aug 21, 2020
@lbetz lbetz closed this as completed in 894b23e Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant