Giter Site home page Giter Site logo

vkhatri / chef-cabot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rafaelmagu/chef-cabot

0.0 1.0 1.0 185 KB

A Chef cookbook to install and configure Cabot, the self-hosted watchdog for your websites and infrastructure.

License: MIT License

Ruby 90.54% HTML 9.46%

chef-cabot's Introduction

cabot-cookbook

travis build status

Cabot is a self-hosted watchdog for your websites and infrastructure. This cookbook installs and configures a basic setup.

Supported Platforms

Made with love for Ubuntu (12.04, 14.04)

Dependencies

This cookbook depends on community versions of the following cookbooks:

  • build-essential
  • git
  • nginx
  • nodejs
  • npm
  • python
  • redis

Additionally, it will install Ruby from default APT repos, and Foreman.

Attributes

All keys below live under the cabot namespace. Eg. user is available as node[:cabot][:user]

Key Type Description Default
user String User to run Cabot as cabot
group String Group to run Cabot as cabot
home_dir String Home dir /opt/cabot
log_dir String Log dir /var/log/cabot
repo_url String GitHub repository to pull Cabot code from. https://github.com/arachnys/cabot.git
environment String Sets the environment type (development or production). This sets whether to use SQLite or PostgreSQL databases. production
database_url String Sets the Django database URL sqlite:///cabot.db
port Integer Sets the port on which Cabot UI listens for requests 5000
admin_email String Emails sent from Django are sent to [email protected]
from_email String From address to send emails with [email protected]
ical_url String URL of calendar to synchronise rota with http://www.google.com/calendar/ical/example.ics
celery_broker_url String Django setting redis://:yourrediskey@localhost:6379/1
django_secret_key String Django setting 2FL6ORhHwr5eX34pP9mMugnIOd3jzVuT45f7w430Mt5PnEwbcJgma0q8zUXNZ68A
graphite_api_url String Hostname of Graphite server instance http://graphite.example.com/
graphite_username String Username used to authenticate with Graphite username
graphite_password String Password used to authenticate with Graphite password
hipchat_room_id String Hipchat room ID (find it at https://hipchat.com/admin/rooms) 123456
hipchat_api_key String Hipchat API key (get one at https://hipchat.com/admin/api) your_hipchat_api_key
jenkins_api_url String Jenkins server URL https://jenkins.example.com/
jenkins_username String Username used to authenticate with Jenkins (optiona/td> username
jenkins_password String Password used to authenticate with Jenkins password
smtp_host String SMTP hostname to use for sending emails email-smtp.us-east-1.amazonaws.com
smtp_username String SMTP username username
smtp_password String SMTP password password
smtp_port String SMTP port 465
twilio_account_sid String Your Twilio account SID your_twilio_account_sid
twilio_auth_token String Your Twilio auth token your_twilio_auth_token
twilio_outgoing_number String Your Twilio number for outbound calls +1234567890
www_http_host String Used for pointing links back in alerts, etc. localhost
www_scheme String Which URL scheme to use (http or https) http
www_port Integer Port to set reverse proxy on 80

Usage

cabot::default

Include cabot in your node's run_list:

{
  "run_list": [
    "recipe[cabot::default]"
  ]
}

cabot::proxy

Include cabot::proxy in your node's run_list to have Nginx as a reverse proxy to Cabot on port 80.

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: Rafael Fonseca ([email protected])

chef-cabot's People

Contributors

rafaelmagu avatar

Watchers

 avatar

Forkers

coolpalani

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.