Skip to content

Instantly share code, notes, and snippets.

View ehaselwanter's full-sized avatar

Edmund Haselwanter ehaselwanter

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ehaselwanter on github.
  • I am ehaselwanter (https://keybase.io/ehaselwanter) on keybase.
  • I have a public key ASBfgA2BRsUl5UKYXxH4fb1zQXlDTcBnu_QybpQEYVNUdgo

To claim this, I am signing this object:

#!/bin/sh
# Install Docker CE Centos7 AMI
# set -e
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
@ehaselwanter
ehaselwanter / install-chefdk.sh
Last active September 12, 2019 08:31
chef-training-gist
curl https://omnitruck.chef.io/install.sh | sudo bash -s -- -c current -P chefdk -v 3.11.3
#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.4/> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.4/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
image: "docker:latest"
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
services:
- docker:dind
stages:
#!/bin/bash
# install ansible and friends
zypper addrepo https://download.opensuse.org/repositories/systemsmanagement/SLE_15_SP1/systemsmanagement.repo
zypper refresh
zypper install ansible git unzip
# install code-server see <https://github.com/cdr/code-server/blob/master/doc/guide.md#requirements>
rules:
- apiGroups:
- ""
resources:
- nodes/metrics
verbs:
- get
- nonResourceURLs:
- /metrics
verbs:
variable "revision" {
default = 1
}
resource "terraform_data" "trigger-update" {
input = var.revision
}
resource "terraform_data" "exec-container" {