Actions
Bug #5006
closedInventory promises spew errors if /opt/rudder/etc/server-roles.d/ directory is not present
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Since #4929, the inventory promises attempt to show what Rudder server roles are on a machine, by checking the existance of files in /opt/rudder/etc/server-roles.d/.
However, if this directory is not present, the following errors get output:
2014-06-12T15:11:03+0000 error: /default/addInformationsToInventory/vars: Directory '/opt/rudder/etc/server-roles.d/' could not be accessed in lsdir(), (opendir: No such file or directory) 2014-06-12T15:11:03+0000 error: /default/addInformationsToInventory/vars: Directory '/opt/rudder/etc/server-roles.d/' could not be accessed in lsdir(), (opendir: No such file or directory) 2014-06-12T15:11:03+0000 error: /default/addInformationsToInventory/vars: Directory '/opt/rudder/etc/server-roles.d/' could not be accessed in lsdir(), (opendir: No such file or directory)
Actions