I hereby claim:
- I am brianshumate on github.
- I am brianshumate (https://keybase.io/brianshumate) on keybase.
- I have a public key ASAY0lnqlPQR52N_bkuf1u169Jb37UhhUK9rJYTQjYB5AQo
To claim this, I am signing this object:
// Random names based on 20th century women artists | |
// Stole this function from Docker | |
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"time" | |
) |
--- | |
ansible_connection: local | |
ansible_environment: {} | |
ansible_post_tasks: null | |
ansible_pre_tasks: null | |
cert_prefix: https | |
config: | |
baked: default.yml | |
defaults_dir: /tmp/defaults | |
env: |
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
# | |
# microvault | |
# A tiny file storage based Vault server with TLS support running | |
# at 127.0.0.1:8200 that is fully ready to use when executed | |
# | |
# shellcheck disable=SC1090,SC2009 | |
set -e |
#!/bin/bash | |
if ! [ -z "$VAULT_TOKEN" ]; then | |
SRCTOKEN="$VAULT_TOKEN" | |
else | |
if [ -f "$HOME/.vault-token" ]; then | |
SRCTOKEN=$(cat "$HOME/.vault-token") | |
fi | |
fi |
package main | |
import ( | |
"log" | |
"os" | |
"strconv" | |
"time" | |
"github.com/hashicorp/consul/api" | |
) |
If you'd like to experiment with Terraform on macOS locally, a great provider for doing so is the Docker provider. You can get set up in a few simple steps, like so:
Install Docker for Mac if you have not already.
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
""" | |
Implementation for rebalance, add, remove, stop rebalance with extra Nyan Cat power! | |
NB: `pip install nyanbar` system-wide for this to work | |
""" | |
import time | |
import os | |
import sys | |
import util_cli as util | |
import socket |
{% set comma = joiner(",") %} | |
{% set lbracket = "[" %} | |
{% set rbracket = "]" %} | |
{% set quote = '"' %} | |
{ | |
"advertise_addr": "{{ hostvars[inventory_hostname]['ansible_eth1']['ipv4']['address'] }}", | |
"bind_addr": "{{ hostvars[inventory_hostname]['ansible_eth1']['ipv4']['address'] }}", | |
"bootstrap": false, | |
"server": true, |