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

rackops_rolebook (5) Versions 3.1.5

Installs/Configures rackops_rolebook

Policyfile
Berkshelf
Knife
cookbook 'rackops_rolebook', '= 3.1.5', :supermarket
cookbook 'rackops_rolebook', '= 3.1.5'
knife supermarket install rackops_rolebook
knife supermarket download rackops_rolebook
README
Dependencies
Changelog
Quality 100%

rackops_rolebook Cookbook

This "rolebook" is a set of recipes that enable Rackspace to support DevOps Automation customers. Should a customer no longer want Rackspace support, we are able to remove this "rolebook" without impacting any other automation the customer may be using.

Requirements

  • depends "apt"
  • depends "user"
  • depends "motd-tail"
  • depends "sudo"
  • depends "rackspace_iptables"
  • depends "ohai"
  • depends "platformstack"

Attributes

  • default['rackops_rolebook']['editor']['default'] - sets the default editor for the entire machine via /etc/profile.d. Defaults to vim

Recipes

default.rb - This recipe includes all the recipes from the required core cookbooks. It will include chef-client recipes if we are not running in chef_solo mode. It adds the rack user to the sudo group and installs a bunch of handy applications.
acl.rb - This recipe will the standard rackspace IPtables allows.
motd.rb - This recipe sets the motd useful to Rackspace support.
public_info.rb - This recipe sets a tag equal to the public IP detected on an external call. This will assist Rackspace support in finding the correct IP to connect to via SSH
rack_user.rb - This recipe sets up the rack user, and pulls in the authorized_keys file with the public keys of various Rackspace support staff so that support can access the server for troubleshooting and remediation.

Usage

rackops_rolebook::default

e.g.
Just include rackops_rolebook in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[rackops_rolebook]"
  ]
}

License and Authors

Author: ryan.richard@rackspace.com
Author: matt.thode@rackspace.com
Author: jason.nelson@rackspace.com

License

# Copyright 2014, Rackspace Hosting
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

Dependent cookbooks

apt >= 2.4
git >= 0.0.0
motd-tail >= 2.0
ohai >= 2.0
platformstack >= 0.1.1
rackspace_iptables >= 1.2
sudo >= 2.6
user >= 0.3
chef-sugar >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for rackops_rolebook

This file is used to list changes made in each version of rackops_rolebook.

3.1.5

Ensure we install rest-client gem since public_info requires it

3.1.4

Added public_info resilience

3.0.3

  • Added the range 92.52.126.0/24 of RS pollers to acl.rb - the absense of this range causes alerts

3.0.2

  • Fixes authorized_keys is recreated on every run
    • ruby block pulls ssh keys from github repo, passes them as array to user_account resource called in ruby_block

3.0.1

  • Fix EDITOR environment variable in RHEL
  • Add strace to list of admin packages

3.0.0

  • WILL NOT WORK WITH LEGACY DEVOPS CUSTOMERS
  • Strip out non-RS support specific, placed in platformstack
    • ntp
    • rackspace_iptables
    • openssh
    • specific monitors

2.0.0

  • Remove the following cookbooks in favor of community cookbooks:
    • rackspace_user
    • rackspace_sudo
    • rackspace_ntp
    • rackspace_motd
    • rackspace_openssh
    • rackspace_apt
    • rackspace_yum
  • Update versions of existing cookbooks
  • Use LWRP for 'rack' user from user cookbook
  • Use LWRP for 'rack' user from sudo cookbook for sudo access
  • Set apt to run at compile time to build an apt cache on boot (Debian-based systems)
  • Move motd template from rackspace_motd to this cookbook, using LWRP from 'motd-tail' cookbook to create
  • Move ntp setup from rackspace_ntp to this cookbook, with time servers set via wrapper attribute

1.4.0

1.3.1

1.3.0

1.4.0

  • Add public_info Ohai plugin to populate public_info attributes

1.2.0

  • Add rackspace_cloudmonitoring as a dependency to enable standard checks

1.0.0

  • new and improved (for varying values of improved)
  • using more rackspace_blah cookbooks
  • renamed to rackops_rolebook

0.3.0

  • Add logic so that this cookbook is testable with chef-solo. Basically, do not include chef-client in solo mode
  • Add rackspace_iptables support with standard allows for Rackspace

0.2.0:

  • start convert over to rackspace cookbooks

0.1.0:

  • Initial release of rackops-rolebook

Foodcritic Metric
            

3.1.5 passed this metric