Select Badges

Select Supported Platforms

Select Status

RSS

workstation_ubuntu (1) Versions 1.3.1

Installs and configures a workstation for Chef/SFN on Ubuntu 16

Policyfile
Berkshelf
Knife
cookbook 'workstation_ubuntu', '~> 1.3.1', :supermarket
cookbook 'workstation_ubuntu', '~> 1.3.1'
knife supermarket install workstation_ubuntu
knife supermarket download workstation_ubuntu
README
Dependencies
Changelog
Quality 0%

tr_workstation_ubuntu

Setup an Ubuntu 16 workstation for development with Chef, SparkleFormation
and all associated tools.

Includes:

  • AWS CLI
  • Chef development
    • ChefDK: if only chef-client is installed
    • Test Kitchen: for test automation, including EC2 driver
    • cookstyle, foodcritic: for static analysis
    • ChefSpec: custom resource/plugin Unit tests
    • InSpec: Instance compliance/integration tests (based on RSpec)
  • CloudFormation development
    • Sparkleformation: CloudFormation abstraction incl. linting framework
    • SFN Parameters CLI callback
    • cfn_nag: for static analysis
    • awspec: for AWS integration tests (based on RSpec)
  • Shell development
    • shellcheck: for static analysis
    • bash_unit: for unit tests
    • jq: for querying and manipulation of JSON data
  • Cross cutting
    • Infrataster: functional tests
    • Infrataster plugins
    • Capybara: web acceptance tests (RSpec based)
    • PhantomJS: headless browser for testing
    • Poltergeist: Capybara PhantomJS driver
    • Scout2: security auditing tool
  • Markdown Linter (MDL)

Userdata Bootstrapping

#!/bin/bash
wget -qO - http://packages.chef.io/chef.asc | apt-key add -
echo "deb http://packages.chef.io/repos/apt/stable xenial main" > /etc/apt/sources.list.d/chef-stable.list
apt-get update && apt-get install -y chefdk --allow-unauthenticated

chef-client -z -o "recipe[tr_workstation_ubuntu] --recipe-url "https://s3.amazonaws.com/example/tr-workstation-ubuntu-x.x.x.tgz"

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Changelog

Version 1.3.1

  • Fix style for supermarket upload

Version 1.3.0

  • Include mdl as markdown linter
  • Add CHANGELOG.md
  • Add rubocop and foodcritic configuration files
  • Reference README.md for cookbook long_description
  • Remove Sparkle/YAML wrapper, as this is integrated in the product now
  • Rename cookbook to indicate its purpose better

Version 1.2.0

  • Fix line endings to be Unix
  • Add json2yml and sfn-yaml wrappers
  • Fix minor issues

Version 1.1.0

  • Add Scout2 tool for testing built-up AWS infrastructure agains known best practices

Version 1.0.1

  • Fix installation of JQ
  • Fix installation of ChefDK for WDL Distribution Switcher and Xenial

Version 1.0.0

  • Add JQ as dependency for cfn_nag

Version 0.1.1

  • Fix misc Bugs
  • Add documentation

Version 0.1.0

  • Fix style according to Cookstyle and foodcritic
  • Adjust cookbook for Ubuntu 14
  • Add vimrc preset
  • Add Capybara and Infrataster
  • Remove DalekJS

Collaborator Number Metric
            

1.3.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Foodcritic Metric
            

1.3.1 failed this metric

FC078: Ensure cookbook shared under an OSI-approved open source license: workstation_ubuntu/metadata.rb:1
Run with Foodcritic Version 11.1.0 with tags metadata,correctness,supermarket,portability,deprecated ~FC031 and failure tags any