Lipstick Cookbook
The lipstick cookbook installs and configures the Lipstick job visualization server from Netflix.
Requirements
This cookbook has only been tested on CentOS 6, but should work on other Linux systems.
java
- Needed to build the jar filesmysql
- Needed if you are running the demo recipetomcat
- To hold the web application
Attributes
lipstick::default
Key | Type | Description | Default |
---|---|---|---|
['lipstick']['git_checkout_directory'] | String | Directory to stage the Lipstick source code | /tmp/lipstick |
['lipstick']['git_repo'] | String | Lipstick git repo, change to run your own fork | https://github.com/Netflix/Lipstick.git |
['lipstick']['git_ref'] | String | Default branch/revision/ref in the git repo to checkout | master |
Usage
lipstick::default
Installs the Lipstick Server and a MySQL server. This is the simpliest way to deploy, though less flexible.
lipstick::server
Installs the Lipstick Server. If you are running a MySQL server on another host, make sure you set the following attributes for this node so it knows what database to connect to:
node['mysql']['server_root_password']
node['mysql']['bind_address']
node['mysql']['port']
lipstick::mysql
Installs MySQL and creates the necessary database that Lipstick expects.
lipstick::demo
Installs the all components necessary to run Lipstick and Hadoop on a single machine. This is useful for trying out Lipstick but should not be used in a production environment. The pseudo_hadoop and centos_patch recipes are used here, and don't serve much in other contexts.
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License
See LICENSE