Keybase proof
I hereby claim:
- I am jcollie on github.
- I am jcollie (https://keybase.io/jcollie) on keybase.
- I have a public key whose fingerprint is A8CF 5B72 ABC3 9A17 3FEA 620E 6F86 035A 6D97 044E
To claim this, I am signing this object:
/etc/rancid: | |
file.directory: | |
- user: rancid | |
- group: rancid | |
- mode: 0750 | |
- require: | |
- pkg: rancid | |
- user: rancid | |
- group: rancid |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# Download Fedora Docker base image from: | |
# https://getfedora.org/en/cloud/download/docker.html | |
# | |
set -e | |
version=0.1 |
[Unit] | |
Description=Map RBD disk svr03-pgsql | |
Requires=network-online.target | |
After=network-online.target | |
ConditionPathExists=!/dev/rbd/rbd/svr03-pgsql | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
ExecStart=/usr/bin/rbd map --pool rbd svr03-pgsql |
curl -X POST -H "Content-Type: text/plain" -d ON http://localhost:8080/rest/items/ring_front_door_motion | |
curl -X POST -H "Content-Type: text/plain" -d ON http://localhost:8080/rest/items/ring_front_door_ring |
import sys | |
import re | |
line_re = re.compile(r'^((?:\d+m)?\d+s)\s+(\S+)\s+(\S+)\s+(\S+)\s+(.*?)(?=(?:\d+m)?\d+s|\Z)', re.MULTILINE | re.DOTALL) | |
data = sys.stdin.read() | |
start = 0 | |
while start < len(data): | |
match = line_re.search(data, start) |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: celery-broker | |
namespace: mayan | |
spec: | |
replicas: 1 | |
strategy: | |
type: Recreate | |
selector: |