Runit logs config attributes are not set

Description

We install runit using a chef wrapper https://github.com/chef-cookbooks/enterprise-chef-common/blob/3c97fe73bee7a99f7f64bba8a7ab10fbbc074cf6/definitions/component_runit_service.rb: https://github.com/chef-cookbooks/enterprise-chef-common

Using the above recipe only 3 attributes are set:

1 2 3 4 5 6 7 8 9 10 ... variables( svlogd_size: (params[:svlogd_size] || node[package][component]['log_rotation']['file_maxbytes']), svlogd_num: (params[:svlogd_num] || node[package][component]['log_rotation']['num_to_keep']) ) ... options( log_directory: log_directory ) ...

1) should we change this recipe and send svlogd* variables to config.svlogd ???
2) should we delete /opt/unifiedpush/embedded/cookbooks/unifiedpush/templates/default/sv--server-log-config.erb and all svlogd attributes.

Status

Assignee

Yaniv Marom Nachumi

Reporter

Yaniv Marom Nachumi

Labels

None

Priority

Medium
Configure