Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Chef-based storage management

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 cookbooks
Octocat-spinner-32 databags
Octocat-spinner-32 roles
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 chefignore
README.md

chefiler - chef-based storage management

License: APL v2.0

Requirements

  • Chef server (hosted, or local)
  • Chef client (locally)
  • Debian or Ubuntu on installation target.

This software has been tested and deployed successfully on the RaspberryPi.

Installing

The easiest way to install Chefiler to a server is via 'knife' and a Chef server. You may use the free hosted chef server from Opscode, Inc. for up to 5 nodes. Alternatively, you may run your own chef server for unlimited nodes. Chef is licensed under the APL v2.0

You can get 'knife' by installing the Chef client on your local system.

  1. Install the chef client: http://wiki.opscode.com/display/chef/Installing+Chef+Client+and+Chef+Solo

  2. Get a client key from your chef server, i.e. validation.pem

  3. Create a knife configuration, inserting the chef server url and the location of your validation key.

  4. Edit databags as required. These define your samba mountpoints, etc.

  5. Load the configuration onto the chef server: $ rake install

  6. Bootstrap your target system(s) using knife bootstrap.

Example for RaspberryPi: knife bootstrap -t debian6-gems.erb -x pi --sudo $IP-ADDRESS

  1. Your system should now be online.

Special Instructions for RaspberryPi

Several items of note are important for users of the RaspberryPi:

  • OpenSSH server must be running. Dropbear will NOT work.
  • Chef must bootstrap with debian6-gems.erb, download at: https://github.com/webtatic/configuration/blob/master/chef/bootstrap/debian6-gems.erb
  • Ethernet performance will be limited. By default, you'll only expect up to 2MB/s throughput. This can be increased to 4.4MB/s by adjusting your MTU to 1492.

    Edit /etc/network/interfaces to include 'mtu 1492' after 'iface eth0':

    iface eth0 inet dhcp mtu 1492

Something went wrong with that request. Please try again.