Skip to content

Instantly share code, notes, and snippets.

Hart Hoover hhoover

Block or report user

Report or block hhoover

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View kind-config.yaml
kind: Cluster
- role: control-plane
- role: worker
- role: worker
hhoover /
Created Feb 23, 2018
Raspberry Pi K8S disks
set -x
# Localse, uncomment if user-data didn't fix these
export LANGUAGE=en_US.UTF-8; export LANG=en_US.UTF-8; export LC_ALL=en_US.UTF-8; locale-gen en_US.UTF-8
# Set locale to en_US.UTF-8
sudo cp /etc/locale.gen /etc/locale.gen.dist
sudo sed -i -e "/^[^#]/s/^/#/" -e "/en_US.UTF-8/s/^#//" /etc/locale.gen
hhoover /
Last active Oct 21, 2016 — forked from dstanek/
Create a personalized iCal for the OpenStack Newton Summit schedule
#!/usr/bin/env python3
# Download
# to mine.html and then run this script. The my.ics can be imported into your
# calendar.
# Common problems:
# - i've only tested against my calendar (and got feedback about bugs from others) so
# so you may find the parsing isn't quite right
View gist:996191094b22cb441234
machine 'mysql-master' do
machine_options ssh_username: 'root',
bootstrap_options: {
key_name: 'id_rsa',
flavor_id: 'onmetal-io1',
image_id: 'd22ea57e-e12e-4a0a-ad6b-680dd676fd7c'
recipe 'apt'
recipe 'mysql::server'
tag 'database'
View metal.rb
node.set['apt']['compile_time_update'] = true
include_recipe 'apt'
node.set['build-essential']['compile_time'] = true
include_recipe 'build-essential'
chef_gem 'chef-metal' do
version '0.11.2'
action :install
View gist:e10bcd35ac1799ef70a7
case node['recipes']
when 'cookbook::recipe'
take some action
when 'cookbook::other_recipe'
take other action
View django-single.yaml
heat_template_version: 2013-05-23
description: |
Heat template to deploy a single Django server
description: Cloud Database hostname.
type: string
hhoover / .kitchen.local.yml
Created Jan 20, 2014
Test-Kitchen files for Rackspace (chef training)
View .kitchen.local.yml
rackspace_username: USERNAME
rackspace_api_key: APIKEY
public_key_path: /root/.ssh/
hhoover / Vagrantfile
Last active Jan 3, 2016
Vagrantfile for Chef Dev Bastion
View Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure('2') do |config| = 'dummy'
config.vm.box_url = ''
config.vm.provision 'shell', inline: <<-EOF
apt-get update
apt-get -y install curl git vim zlib1g-dev libssl-dev libreadline6-dev libyaml-dev libxml2-dev libxslt-dev build-essential
hhoover / Berksfile
Last active Dec 25, 2015
Copy/paste for chef class
View Berksfile
site :opscode
cookbook 'apt'
cookbook 'build-essential'
cookbook 'python'
You can’t perform that action at this time.