Provides the basic recipes for setting up a RightScale instance.
Github Repository: https://github.com/rightscale-cookbooks/rs-base
- Requires Chef 11 or higher
- Platform
- Ubuntu 12.04
- CentOS 6.4
Place the rs-base::default
recipe in the runlist.
node['rs-base']['swap']['size']
- The swap file size in GB. This attribute must be an integer. Default is1
.node['rs-base']['swap']['file']
- The location of the swap file. This attribute must be a valid filename. Default is'/mnt/ephemeral/swapfile'
.node['rs-base']['ntp']['servers']
- List of fully qualified domain names for the array of servers that are used for updating time. Default is['time.rightscale.com', 'ec2-us-east.time.rightscale.com', 'ec2-us-west.time.rightscale.com']
.node['rs-base']['rsyslog_server']
- FQDN or IP address of a remote rsyslog server. Default isnil
.
All-in-one recipe to run all recipes in rs-base cookbook.
Creates a swapfile of the specified size (in GB) node['rs-base']['swap']['size']
in the
specified location node['rs-base']['swap']['file']
and enables it's usage.
The swap file is added to /etc/fstab
and will persist across reboots. If the size or the
file location is invalid this recipe will fail with an error message indicating what the
failure was.
Configures ntp using servers in node['rs-base']['ntp']['servers']
.
Installs and configures the rsyslog service. If node['rs-base']['rsyslog_server']
is set, its value will be
used as the remote syslog server. Otherwise local machine is used.
Installs the collectd client with some of the basic plugins, syslog, interface, df, disk, memory, load, processes, users, and network.
Author:: RightScale, Inc. ([email protected])