Skip to content

Handle arrays in sys::banner

sys::banner should be able to handle arrays (by joining them with newlines instead of the implicit to_s).

node['sys']['banner']['footer'] = [ "line 1", "line 2" ]

should result in

line 1
line 2

instead of

["line 1", "line 2"]

in /etc/motd.