Skip to content

Instantly share code, notes, and snippets.

View grahamhayes's full-sized avatar

Graham Hayes grahamhayes

View GitHub Profile
# module.aks_simple_eu_3.module.aks_base.azurerm_kubernetes_cluster.k8_cluster must be replaced
-/+ resource "azurerm_kubernetes_cluster" "k8_cluster" {
- api_server_authorized_ip_ranges = [] -> null
dns_prefix = "prod-c12-eu-3"
enable_pod_security_policy = true
~ fqdn = "prod-c12-eu-3-b8f2d244.hcp.northeurope.azmk8s.io" -> (known after apply)
~ id = "<snip>resourcegroups/prod-c12-eu-3-rg/providers/Microsoft.ContainerService/managedClusters/prod-c12-eu-3" -> (known after apply)
~ kube_admin_config = [
- {
<snip>
@grahamhayes
grahamhayes / config.yaml
Created May 8, 2019 20:46
NodePool Config - Azure
elements-dir: /etc/nodepool/elements
images-dir: /opt/nodepool_dib
webapp:
port: 8005
listen_address: '0.0.0.0'
zookeeper-servers:
- host: 127.0.0.1
port: 2181
graham@jump:~/repos/github/phhusson/quassel-irssi/core/lib$ git diff
diff --git a/getters.c b/getters.c
index e6bb564..51da7b7 100644
--- a/getters.c
+++ b/getters.c
@@ -160,6 +160,8 @@ void get_variant_t(char **buf, int type) {
case 16:
get_date(buf);
break;
+ case 22:
<?xml version='1.0' encoding='utf-8'?>
<manifest>
<remote fetch="ssh://git@github.com/" name="github" review="https://review.openstack.org" />
<remote fetch="https://git.openstack.org/" name="gitoo" review="https://review.openstack.org/" />
<default remote="gitoo" revision="master" />
<project groups="Quality-Assurance,offical" name="openstack-dev/bashate.git" path="openstack-dev/bashate" />
<project groups="" name="openstack-dev/ci-sandbox.git" path="openstack-dev/ci-sandbox" />
<project groups="oslo,offical" name="openstack-dev/cookiecutter.git" path="openstack-dev/cookiecutter" />
<project groups="Quality-Assurance,offical" name="openstack-dev/devstack.git" path="openstack-dev/devstack" />
<project groups="Quality-Assurance,offical" name="openstack-dev/devstack-plugin-cookiecutter.git" path="openstack-dev/devstack-plugin-cookiecutter" />
@grahamhayes
grahamhayes / yamllint.yaml
Last active August 8, 2017 16:20
my `.yamllint` file
rules:
braces:
min-spaces-inside: 0
max-spaces-inside: 2
brackets:
min-spaces-inside: 0
max-spaces-inside: 0
colons:
max-spaces-before: 0
#!/usr/bin/env python
try:
import requests
except ImportError:
print("Please install python-requests")
raise SystemExit(1)
import argparse
if __name__ == "__main__":
➜ terraform-test terraform apply
libvirt_volume.node: Creating...
base_volume_id: "" => "/var/lib/libvirt/images/opensuse-VAGRANTSLASH-openSUSE-42.1-x86_64_vagrant_box_image_1.0.0.img"
name: "" => "node.qcow2"
pool: "" => "default"
size: "" => "<computed>"
libvirt_cloudinit.node: Creating...
name: "" => "node_cloud_init.iso"
pool: "" => "default"
user_data: "" => "#cloud-config\n\n# set locale\nlocale: en_GB.UTF-8\n\n# set timezone\ntimezone: Etc/UTC\n\n# Set hostname and FQDN\nhostname: node\nfqdn: node.exmaple.com\n\n# set root password\nchpasswd:\n list: |\n root:linux\n expire: False\n\n# setup and enable ntp\nntp:\n servers:\n - ntp1.suse.de\n - ntp2.suse.de\n - ntp3.suse.de\n\nruncmd:\n - /usr/bin/systemctl enable --now ntpd"
# GPG SmartCard Reader Support
#
ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="4e6/5116/*", GROUP="scard"
{
"title": "Logstash Search",
"services": {
"query": {
"list": {
"0": {
"query": "build_status:FAILURE",
"alias": "",
"color": "#E24D42",
"id": 0,

Keybase proof

I hereby claim:

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

To claim this, I am signing this object: