Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

cabot (2) Versions 1.0.0

Installs and configures Cabot

Policyfile
Berkshelf
Knife
cookbook 'cabot', '= 1.0.0', :supermarket
cookbook 'cabot', '= 1.0.0'
knife supermarket install cabot
knife supermarket download cabot
README
Dependencies
Changelog
Quality 0%

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 <tt>cabot</tt> namespace. Eg. <tt>user</tt> is available as <tt>node[:cabot][:user]</tt>

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

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 (rafael.magu@gmail.com)

Dependent cookbooks

build-essential ~> 2.0.4
git ~> 4.0.2
nginx ~> 2.7.4
nodejs ~> 1.3.0
npm ~> 0.1.2
python ~> 1.4.6
redis ~> 3.0.4
ubuntu ~> 1.1.6

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of cabot

  • Enhancements

    • an enhancement
  • Bug Fixes

    • a bug fix

Foodcritic Metric
            

1.0.0 failed this metric

FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:1
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:2
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:3
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:4
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:5
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:7
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:9
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:11
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:12
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:14
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:17
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:18
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:19
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:20
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:21
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:22
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:23
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:24
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:25
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:26
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:27
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:28
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:29
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:30
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:31
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:32
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:33
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:34
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:35
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:36
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:37
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:38
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:39
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:40
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:41
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:43
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:44
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:45
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:47
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:49
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:50
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:51
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/attributes/default.rb:52
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:48
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:50
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:52
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:53
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:57
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:59
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:60
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:63
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:64
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:65
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:70
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:72
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:73
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:74
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:77
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:81
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:82
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:83
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:84
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:85
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:86
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:87
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:88
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:89
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:90
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:91
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:92
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:93
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:94
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:95
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:96
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:97
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:98
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:99
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:100
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:101
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:102
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:103
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:104
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:105
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:106
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:112
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:114
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:115
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:122
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:124
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:125
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:137
FC001: Use strings in preference to symbols to access node attributes: /tmp/cook/7d343f19cd9d20be3d5cd580/cabot/recipes/default.rb:139