+ case os[:name]
+ when 'centos'
+ file = '/etc/sysconfig/shellinaboxd'
+ tpl = 'RedHat'
+ siab_stanza = <<~SIAB_STANZA
+ PORT=4200
+ # SSL is disabled because it is terminated in Nginx. Adjust as needed.
+ OPTS="--disable-ssl --no-beep --service=/shell.fixme.example.net:SSH"
+ SIAB_STANZA
+ when 'debian', 'ubuntu'
+ file = '/etc/default/shellinabox'
+ tpl = 'default'
+ siab_stanza = <<~SIAB_STANZA
+ SHELLINABOX_PORT=4200
+ # SSL is disabled because it is terminated in Nginx. Adjust as needed.
+ SHELLINABOX_ARGS="--disable-ssl --no-beep --service=/shell.fixme.example.net:AUTH:HOME:SHELL"
+ SIAB_STANZA
+ end
+ describe file(file) do