Current Cookbook is missing st2 username:password configuration in /etc/st2/htpasswd, eg. there is no logic to generate contents.
It means you can't run st2 with auth enabled (default) with this Cookbook.
According to Installation Docs this could be done via htpasswd utility, but I think there must be something in Chef/Ruby libs toolset to generate contents for /etc/st2/htpasswd, to avoid installing additional apache2-utils OS package.
Current Cookbook is missing st2
username:password
configuration in/etc/st2/htpasswd
, eg. there is no logic to generate contents. It means you can't run st2 withauth
enabled (default) with this Cookbook.According to Installation Docs this could be done via
htpasswd
utility, but I think there must be something in Chef/Ruby libs toolset to generate contents for/etc/st2/htpasswd
, to avoid installing additionalapache2-utils
OS package.This might work: http://stackoverflow.com/questions/29837267/write-users-to-htpasswd-in-chef-recipe