Boot up the Vagrant virtual machine:
$ vagrant up
Build a specific recipe with fpm-cookery:
$ RECIPE=<recipe-name> vagrant provision
The final packages will be located here:
| $ docker images quay.io/mlafeldt/chef-runner | |
| REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE | |
| quay.io/mlafeldt/chef-runner rpm b524faf0fe69 42 hours ago 830.3 MB | |
| quay.io/mlafeldt/chef-runner deb d26c1d8dc51c 42 hours ago 622.9 MB | |
| $ docker push quay.io/mlafeldt/chef-runner | |
| The push refers to a repository [quay.io/mlafeldt/chef-runner] (len: 2) | |
| Sending image list | |
| Pushing repository quay.io/mlafeldt/chef-runner (2 tags) | |
| Image 511136ea3c5a already pushed, skipping | 
| class ChefRunner < FPM::Cookery::Recipe | |
| GOPACKAGE = "github.com/mlafeldt/chef-runner" | |
| name "chef-runner" | |
| version "0.8.0" | |
| revision 1 | |
| source "https://#{GOPACKAGE}/archive/v#{version}.tar.gz" | |
| sha256 "a7de23f989f8353ecf838b551a8ceff09b83c8aeff2553b2c31d57615f8fcc53" | |
| description "The fastest way to run Chef cookbooks" | 
| #!/bin/sh | |
| # Helper script to run (almost) any individual Puppet RSpec test. | |
| # Usage: ./scripts/spec-runner <specfile[:line]> ... | |
| set -e | |
| PUPPET_ROOT=$(cd -P -- $(dirname -- "$0")/.. && pwd) | |
| if test "$PUPPET_ROOT" != "$(pwd -P)"; then | |
| echo >&2 "error: spec-runner must be executed in $PUPPET_ROOT" | 
| #!/bin/sh | |
| # WARNING: REQUIRES /bin/sh | |
| # | |
| # - must run on /bin/sh on solaris 9 | |
| # - must run on /bin/sh on AIX 6.x | |
| # - if you think you are a bash wizard, you probably do not understand | |
| # this programming language. do not touch. | |
| # - if you are under 40, get peer review from your elders. | |
| # | |
| # Author:: Tyler Cloke ([email protected]) | 
| # Rake tasks for Jekyll | |
| # Inspired by https://github.com/imathis/octopress/blob/master/Rakefile | |
| require 'rake/clean' | |
| require 'redcloth' | |
| require 'stringex' | |
| POSTS_DIR = '_posts' | |
| BUILD_DIR = '_site' | |
| DEPLOY_DIR = '_deploy' | 
| #!/bin/sh | |
| # Helper script to install a specific version of Puppet | |
| # Usage: puppet-installer.sh <distro name> <Puppet version> | |
| set -e | |
| DISTRO=$1 | |
| VERSION=$2 | |
| CURRENT=$(apt-cache policy puppet | awk '/Installed:/ {print $2}' 2>/dev/null) | 
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "gopkg.in/yaml.v1" | |
| ) | |
| var data = ` | 
| import boto | |
| import json | |
| import time | |
| import sys | |
| import getopt | |
| import argparse | |
| import os | |
| import logging | |
| import StringIO | |
| import uuid | 
Boot up the Vagrant virtual machine:
$ vagrant up
Build a specific recipe with fpm-cookery:
$ RECIPE=<recipe-name> vagrant provision
The final packages will be located here:
| Inspecting 166 files | |
| CCCCCCCCCCCCCCWWCCCCCCCCCCCCCCCCWCCCCCCCCWCCCCCCCCCW.C..C.CCCCC.C..CCC.C.CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCWC.WCC..CC.WWCCCCWCCCWCCCCCCCCCWCCCCCCCWWCCC | |
| Offences: | |
| app/controllers/admin/announcements_controller.rb:1:1: C: Missing top-level class documentation comment. | |
| class Admin::AnnouncementsController < ApplicationController | |
| ^^^^^ | |
| app/controllers/admin/announcements_controller.rb:18:29: C: Missing space after #. | |
| redirect_to root_path #announcement_path(@announcement) |