Cookbook for setup and configure httphq application.
All default values of attributes you can see in attributes/default.rb
To use the cookbook we recommend creating a cookbook named after the application, e.g. my_app. In metadata.rb you should declare a dependency on this cookbook:
Include recipe[httphq] to you runlist.
Add recipe[httphq::instance] to you runlist.
If ypu want to use nginx, add recipe[httphq::nginx] to you runlist.
Or make you own custom configuration via resouces and definitions.
namepackage nameuseruser that own applicationgroupgtoup that own applicationvirtualenvpath to virtualenv directoryversionhttphq version to installserverslist of instances serverslog_levellog messages levellog_dirdirectory with logspid_firdirectory for pidfiles
Specify if you want to use nginx as frontend
node["nginx"]["domain"]- domain for server_namenode["nginx"]["ip_address"]- ip address that listen nginxnode["nginx"]["port"]- port that listen nginx
Activate dependences
Base recipe to configure httphq user and group
Recipe to install simple httphq instance.
Recipe that configure frontent for node["httphq"]["servers"]