Skip to content

Instantly share code, notes, and snippets.

@arrfab
arrfab / keybase.md
Last active August 9, 2019 11:53
keybase.md

Keybase proof

I hereby claim:

  • I am arrfab on github.
  • I am arrfab (https://keybase.io/arrfab) on keybase.
  • I have a public key ASDuFDZC7r5OBr-OEvfFEWkq2sQ03yMuDwic1FO9ko92Ego

To claim this, I am signing this object:

@arrfab
arrfab / pdns-pipebackend.py
Created June 13, 2016 12:18 — forked from sokratisg/pdns-pipebackend.py
PowerDNS PipeBackend python example
#!/usr/bin/python -u
import sys, os, time
import random
class DNSLookup(object):
"""Handle PowerDNS pipe-backend domain name lookups."""
ttl = 30
- hosts: infra
vars:
- foreman_db_type: mysql #can be sqlite/mysql/postgresql
tasks:
- name: Installing other repositories
yum: pkg={{ item }} state=installed
with_items:
- http://fedora.cu.be/epel//6/x86_64/epel-release-6-8.noarch.rpm
- http://yum.theforeman.org/releases/1.4/el6/x86_64/foreman-release.rpm