devopsbox
is a role cookbook that installs an opinionated set of DevOps tools to enable teams to move beyond fighting with their workstations to the blissful business of infrastructure hacking.
- CentOS 7
- RedHat 7
- Ubuntu 16.04
- Chef 12
Add devopsbox::default
as first item in node run_list if you want everything installed. If you want to exclude components just add those components' recipes to your run_list.
default['chef_dk']['version'] = 'latest'
default['chef_dk']['package_url'] = nil
default['chef_dk']['global_shell_init'] = true
default['direnv']['checksum'] = '918194e91435bf7ebb07705ba901e822dad7a01546e29e285043c3976fee115b'
default['direnv']['version'] = '2.8.1'
default['direnv']['base_url'] = 'https://github.com/direnv/direnv/archive'
default['go']['version'] = '1.6.2'
default['terraform']['version'] = '0.7.2'
default['terraform']['zipfile'] = "terraform_#{node['terraform']['version']}_" \
"#{node['os']}_#{node['terraform']['arch']}.zip"
default['tmux']['version'] = '2.2'
default['tmux']['checksum'] = 'bc28541b64f99929fe8e3ae7a02291263f3c97730781201824c0f05d7c8e19e4'
default['tmux']['install_method'] = 'source'
- Installs AWS Command Line Interface.
- Creates some helper aliases.
- Configures Bash prompt.
- Configures Git prompt.
vagrant@default-centos-71 19:35:47 ~/foo
$
vagrant@default-centos-71 19:35:48 (master) ~/foo
$ git checkout -b develop
Switched to a new branch 'develop'
vagrant@default-centos-71 19:36:06 (develop) ~/foo
$
- Installs Chef Development Kit.
- Adds ChefDK environment helper to
/etc/profile.d
, providing, among other things, bash auto-completion.
Primarily an aggregator recipe that includes all other recipes and:
- installs OS devtools.
- installs some useful RPMs.
- installs TMUX via upstream
tmux
cookbook.
- Installs Docker Engine.
- Installs Hub, GitHub's Git command line wrapper.
- Adds Hub environment helper to
/etc/profile.d
. - Configures Bash auto-completion.
- Installs Packer
- Installs Terraform
- Diagnose non-impactful ChefSpec failures.
- Add Ubuntu support.
- Install Vault.
- Install Otto.
- Install Ansible.
- Install ChefVM.
- Make Bash templates less brittle w/ conditionals. (e.g. don't add Chef fu if Chef is not installed).
- Clean-up old versions of Terraform after upgrades.
- Author: Todd Michael Bushnell ([email protected])
- Author: Alex Romanov ([email protected])
Copyright (c) 2016 Strata Consulting, Inc.
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.