You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
icon_image parameter can be set for icinga2::object::host and icinga2::object::service with a relative path for the external user interface (relative from the webserver root folder of icingaweb2, e.g. imgfolder/image.png)
Current Behavior
Only absolute path is allowed by puppet-icinga2 module. Icingaweb2 front-end doesn't know about the absolute path of its host. If the absolute path to the icon image is given, the icon is not displayed on the icingaweb2 GUI.
Possible Solution
Replace Optional[Stdlib::Absolutepath] by Optional[String] for $icon_image in host.pp and service.pp
Steps to Reproduce (for bugs)
define a icinga2::object::host with parameter icon_image and assign value like: 'imgfolder/image.png'
run puppet agent -t
Context
I'm creating a template with puppet-icinga2 module which includes icon_image:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Error while evaluating a Function Call, "imgfolder/image.png" is not an absolute path...
Your Environment
Module version (puppet module list): puppet-icinga2 (v0.6.1)
Puppet version (puppet -V): 4.6.1
Operating System and version: CentOS Linux release 7
The text was updated successfully, but these errors were encountered:
Expected Behavior
icon_image parameter can be set for
icinga2::object::host
andicinga2::object::service
with a relative path for the external user interface (relative from the webserver root folder of icingaweb2, e.g.imgfolder/image.png
)Current Behavior
Only absolute path is allowed by puppet-icinga2 module. Icingaweb2 front-end doesn't know about the absolute path of its host. If the absolute path to the icon image is given, the icon is not displayed on the icingaweb2 GUI.
Possible Solution
Replace
Optional[Stdlib::Absolutepath]
byOptional[String]
for$icon_image
in host.pp and service.ppSteps to Reproduce (for bugs)
icinga2::object::host
with parametericon_image
and assign value like:'imgfolder/image.png'
puppet agent -t
Context
I'm creating a template with puppet-icinga2 module which includes icon_image:
And getting this error at puppet agent run:
Your Environment
puppet module list
): puppet-icinga2 (v0.6.1)puppet -V
): 4.6.1The text was updated successfully, but these errors were encountered: