Base chef cookbook to setup my servers.
- Ubuntu 12.04
- Ubuntu 14.04
Some basic attributes are:
| Key | Type | Description | Default |
|---|---|---|---|
| ['tz'] | String | Server's timezone | 'Etc/UTC' |
| ['authorization']['sudo']['groups'] | Array | Groups enabled to use sudo | ['sudo'] |
| ['authorization']['sudo']['passwordless'] | Boolean | Enable passwordless sudo | true |
| ['openssh']['server']['port'] | String | SSH port | '22' |
| ['openssh']['server']['permit_root_login'] | String | Enables or disables root login through SSH (yes, no, without-password) | 'without-password' |
| default['base']['monit']['fs'] | Array | Checks free space in specified disk's partition | [] |
Include base::default in your node's run_list and it will install
some basic packages, configure the server's timezone and sudo.
This recipe will install and configure openssh service with some basic security options.
This recipe installs monit and configure it to monitor the server.
Author:: Pablo Gutiérrez del Castillo (pablogutierrezdelc@gmail.com)