I hereby claim:
- I am steeef on github.
- I am steeef (https://keybase.io/steeef) on keybase.
- I have a public key whose fingerprint is D474 2F1D B8B4 4D91 B829 CD19 70BD B78A 3362 F2EE
To claim this, I am signing this object:
#!/usr/bin/env bash | |
# | |
# to install: | |
# curl -sL https://gist.githubusercontent.com/steeef/2cf6345055bdec2c9b8781267e8299ab/raw/download_and_bootstrap.sh | bash -ex | |
REPO="https://github.com/steeef/dotfiles" | |
LOCALDIR="${HOME}/.dotfiles" | |
if command -v git >/dev/null 2>&1; then | |
mkdir -p "${LOCALDIR}" |
#cloud-config | |
--- | |
coreos: | |
etcd2: | |
name: core0 | |
advertise-client-urls: http://127.0.0.1:2379 | |
initial-advertise-peer-urls: http://127.0.0.1:2380 | |
initial-cluster: core0=http://127.0.0.1:2380 | |
fleet: |
I hereby claim:
To claim this, I am signing this object:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install reattach-to-user-namespace git zsh wget
set noautofocus | |
set cncpcompletion | |
set nosmoothscroll | |
set nohud | |
set noautohidecursor | |
set numerichints | |
set typelinkhints | |
set autoupdategist | |
let barposition = "bottom" |
This is a pretty opinionated solution that we use internally. It's strictly designed to post to slack via the API and it uses our notion of wrapping EVERYTHING with a role. All of our plugins automatically use brain storage as well. To be able to execute anything with hubot, you have to be a rundeck_admin
role user (per the hubot-auth
plugin).
HUBOT_RUNDECK_URL
should be set to the root URL of your Rundeck server, not
including the path to the current api version.
NOTE: Currently relying on Rundeck API version 12.
You should be able to tease out the rundeck API stuff specifically.
It depends on a common format for your job defs in rundeck. We have two types of jobs in rundeck that we use via this plugin:
Unit] | |
Description=ZNC | |
Requires=docker.service | |
After=docker.service | |
[Service] | |
EnvironmentFile=/etc/default/znc | |
User=docker | |
Restart=on-failure | |
RestartSec=10 |
# using VirtualBox version $VBOX_VERSION | |
FROM boot2docker/boot2docker | |
RUN apt-get install p7zip-full | |
RUN mkdir -p /vboxguest && \ | |
cd /vboxguest && \ | |
curl -L -o vboxguest.iso http://download.virtualbox.org/virtualbox/$VBOX_VERSION/VBoxGuestAdditions_$VBOX_VERSION.iso && \ | |
7z x vboxguest.iso -ir'!VBoxLinuxAdditions.run' && \ | |
sh VBoxLinuxAdditions.run --noexec --target . && \ |