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

chef-server-rds (2) Versions 1.0.0

Installs and configures Chef Server backed by Amazon RDS Postgresql

Policyfile
Berkshelf
Knife
cookbook 'chef-server-rds', '= 1.0.0', :supermarket
cookbook 'chef-server-rds', '= 1.0.0'
knife supermarket install chef-server-rds
knife supermarket download chef-server-rds
README
Dependencies
Changelog
Quality -%

Chef Server backed by AWS RDS

This cookbook configures a system to be a Chef Server using Amazons RDS for the postgresql database.

Given an iam key and secret, it will provision the rds instance if it doesn't exist in the account, initialize the chef server schema, and install the appropriate platform-specific chef-server Omnibus package and perform the initial configuration of Chef Server on an AWS elastic compute ubuntu instance.

Using postgres on Amazon RDS offloads DB resource use away from the chef-server host. It also enables various DB functions like scaling, backup, and restore to be done independently of the chef-server installations. Similar configurations can be written for other db service providers.

REQUIREMENTS

The cookbook has been tested on the following OS
* Ubuntu 12.04, 12.10 64-bit

The role below depends on the following cookbooks
* aws_rds

* postgresql
* build-essential

Here's a sample chef role that uses the cookbook

name "chef-server-rds"
description "chef-server-rds"
run_list(
    "recipe[build-essential::default]",
    "recipe[postgresql::client]",
    "recipe[chef-server-rds::default]",
)
default_attributes(
  "build_essential" => {
    "compiletime" => true
  }
)
override_attributes(
  "chef-server" => {
    "configuration" => {
     "notification_email" => "change@email.com",
       "postgresql" => {
          "enable" => false
       }
    },
    "nginx" => {
       "enable_non_ssl" => true,
    },
    "postgresql" => {
      "enable" => false,
    },
  },
  "rds" => {
    "id" => 'opscodechef',
    "dbname" => 'opscode_chef',
    "username" => 'test_user',
    "password" => 'test_password',
    "key" => 'iam_key',
    "secret" => 'iam_secret'
   }
)

The role can then simply be run to configure both the RDS instance and the chef-server that uses it

knife ec2 server create -r "role[chef-server-rds]" -I ami-b66ca0de -G xyzGroup -S xyzKey -x ubuntu -f m3.medium -N chef_server_name

Dependent cookbooks

aws_rds >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

chef-server cookbook README

v2.1.6 (2014-05-22)

  • COOK-4660 - Adds a OS version and image updates to the testing harness

v2.1.4 (2014-03-29)

  • Dropping dependency on git

v2.1.2 (2014-03-18)

  • [COOK-4386] - 'package_options' attribute added

v2.1.0 (2014-02-24)

  • Updating test harness, adding amazon support to omnitruck library
  • '[COOK-4176] - Ensure creation of :file_cache_path'
  • '[COOK-4178] - update Bento boxes used in chef-server cookbook'

v2.0.1

Documentation update to reflect Vagrant version dependency

v2.0.0

  • Complete re-write for Chef Server 11+. Chef Server is now installed using "fat" Omnibus package.

v1.1.0

  • [COOK-1637] - Directory creation in chef-server should be recursive
  • [COOK-1638] - chef-server: Minor foodcritic fixups needed
  • [COOK-1643] - Chef Server Cookbook Missing Erlang in Metadata Depends
  • [COOK-1767] - use platform_family in chef-server cookbook

v1.0.0

  • [COOK-801] - add amazon linux
  • [COOK-886] - use bin path consistently
  • [COOK-1034] - expander bluepill doesn't have default value for node count

v0.99.12

  • [COOK-757] - compact all the views
  • [COOK-969] - server_name and server_aliases as configurable attributes on chef_server::nginx-proxy and chef_server::apache-proxy

No quality metric results found