cookbook 'platformstack', '= 1.5.4'
platformstack
(31) Versions
1.5.4
-
Follow3
Provides Rackspace base platform and managed support
cookbook 'platformstack', '= 1.5.4', :supermarket
knife supermarket install platformstack
knife supermarket download platformstack
PlatformStack
This cookbook installs and sets up commonly used things that we consider useful or standard (such as setting the timezone to UTC).
This cookbook is intended to install things that are NOT specific to DevOps support level at Rackspace. Contrast this with rackops_rolebook cookbook which performs configuration specifically for DevOps customers.
general notes
Most things can be toggled with an enabled
attribute and some things are disabled by default. We lock down openssh pretty hard by default as well.
rackspace services
If you wish to use rackspace_cloudbackup or cloud monitoring you will need to set the following attributes:
node['rackspace']['cloud_credentials']['username']
node['rackspace']['cloud_credentials']['api_key']
specific notes
iptables
- We only start iptables if
node['platformstack']['rackconnect']
is false - We set up the rackconnect user and enable password auth via openssh if
node['platformstack']['rackconnect']
is true - We allow ssh from the world by default (controled by the
node['platformstack']['iptables']['allow_ssh_from_world']
attribute
locale
Fairly simple and set by the node['platformstack']['locale']
attribute
monitors
Sets up monitoring for the following by default:
- cpu
- disk
- load
- memory
- network
- filesystem
- for non-memory type filesystems by default
- service
- only enabled if set up via the node['platformstack']['cloud_monitoring']['service']['name']
attribute
You can set the period and timeout along with the critical and warning thresholds via attributes, as well as configure custom monitors. Check the cloud_monitoring attributes file for more info.
default
Sets the timezone to UTC by default.
We run last in the run list via a notification / ruby_block trick to run last so that we can collect all overrides for node attributes.
This cookbook sets up the following (default disabled will be noted by a '*')
- apt:: default if debian
- locale
- ntp
- timezone
- auto-patching
- chef-client
- postfix
- newrelic (if license exists)
- rackspace_cloudbackup
- *statsd
- *logstash_rsyslog client
- *client-rekey
- omnibus_updater
- monitors
- iptables
- openssh
Dependent cookbooks
Contingent cookbooks
1.5.4
- Switch to symbols from strings for resource actions, to support chef 12.1.x and greater
1.5.3
- Disable force upgrade of omnibus
1.5.0
- Setup remote-http monitors from attribute hash.
1.4.4
- Remove now-unused logstash_commons references
1.4.3
- Add missing dependency (wasn't an error since elkstack depends on it, but still)
- Add a hash to use to configure custom logstash
1.4.2
- Guard more of elkstack execution to be sure we don't do anything too early, undoes part of 1.4.2
1.4.2
- Remove logic that is already in elkstack::agent
1.4.0
- Bump to re-release due to Supermarket upload concerns
1.3.0
- Allow wrappers to supply additional custom monitors (always intended, but wasn't implemented)
License Metric
1.5.4 failed this metric
FC031: Cookbook without metadata file: /tmp/cook/43785cecfc2f82f4b6e1cbf8/platformstack/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/43785cecfc2f82f4b6e1cbf8/platformstack/metadata.rb:1
1.5.4 failed this metric
FC045: Consider setting cookbook name in metadata: /tmp/cook/43785cecfc2f82f4b6e1cbf8/platformstack/metadata.rb:1