I hereby claim:
- I am teriyakichild on github.
- I am teriyakichild (https://keybase.io/teriyakichild) on keybase.
- I have a public key whose fingerprint is 17C2 9327 9ED4 8078 6F0D F9D9 F6FB 1040 1390 8A11
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<zabbix_export> | |
<version>2.0</version> | |
<date>2014-06-19T22:25:40Z</date> | |
<groups> | |
<group> | |
<name>Templates</name> | |
</group> | |
</groups> | |
<templates> |
- hosts: localhost | |
gather_facts: False | |
tasks: | |
#include: tasks/create-hosts.yml | |
- name: Server build request | |
local_action: | |
module: rax | |
credentials: ~/.raxpub | |
name: "zabbix-{{ item }}" | |
region: "{{ item }}" |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
require 'yaml' | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
# Load configuration from config.yml | |
conf = YAML::load_file('config.yml') | |
nodes = conf['nodes'] |
from HTMLParser import HTMLParser | |
import csv | |
import re | |
import sys | |
if len(sys.argv) < 3: | |
print 'Usage: python {0} <file-in> <file-out>'.format(sys.argv[0]) | |
filein = sys.argv[1] |
nginx::resource::map { '$loggable': | |
ensure => present, | |
hostnames => false, | |
default => '1', | |
string => '$uri', | |
mappings => { | |
'/monitor' => '0', | |
} | |
} |
[tony4715@z420 puppet-profile_jenkins]$ bundle exec gem list | |
*** LOCAL GEMS *** | |
activesupport (4.2.3) | |
addressable (2.3.8) | |
autoparse (0.3.3) | |
aws-sdk (1.64.0) | |
aws-sdk-v1 (1.64.0) | |
beaker (2.18.1) |
import getpass | |
import sys | |
import time | |
from pyzabbix import ZabbixAPI | |
def get_zapi(host, user, password): | |
zapi = ZabbixAPI(host) | |
zapi.session.verify = False | |
zapi.login(user, password) |
# == Class: profile_firewall | |
# | |
# This is a profile to manage iptables on a system using the | |
# puppetlabs-firewall module. With this class, basic rules are added that only | |
# allow from icmp, allow from localhost, allow established/related connections, | |
# and allow ssh. Everything else is denied. Once you have pulled this class | |
# into your module, you can use the firewall { ... } resource to add your | |
# own rules. | |
# | |
# See https://forge.puppetlabs.com/puppetlabs/firewall for additional |