Skip to content

Instantly share code, notes, and snippets.

View buzztroll's full-sized avatar

John Bresnahan buzztroll

View GitHub Profile

| Some | Header | Header | | :==== | :====: | ====: | | a | word | hi |

@buzztroll
buzztroll / keybase.md
Created August 8, 2016 18:42
keybase.md

Keybase proof

I hereby claim:

  • I am buzztroll on github.
  • I am buzztroll (https://keybase.io/buzztroll) on keybase.
  • I have a public key whose fingerprint is 7C70 8EF8 66CF E60B C797 9EE3 9F52 1A38 F9EB B9B4

To claim this, I am signing this object:

resource "azurerm_resource_group" "test" {
name = "acctestlbrg-33"
location = "West US"
}
resource "azurerm_public_ip" "test" {
name = "simplelbip"
location = "West US"
resource_group_name = "${azurerm_resource_group.test.name}"
public_ip_address_allocation = "static"
@buzztroll
buzztroll / upgrade.md
Last active August 29, 2015 14:23
Instructions for upgrading the dcm-agent to version 0.11.2

Upgrading the DCM Agent

To upgrade a server that is running the dcm-agent you must have root level shell access to the VM (this is typically achieved with ssh). Once you are logged into the server as root perform the following steps:

  1. Preserve configuration and customized files. Copy the current configuration to a temporary location:
Launch a VM from the following set of distributions via DCM.
ubuntu:
- 10.04 amd64
- 10.04 i386
- 12.04 amd64
- 12.04 i386
- 14.04 amd64
- 14.04 i386
- debian 7.5 amd64
import json
import logging
import sys
import time
import ws4py.client.threadedclient as ws4py_client
_g_logger = logging.getLogger(__name__)
============================================================================================
Enstratius Agent Installer for linux.
Usage: http://es-download.s3.amazonaws.com/install.sh | bash -s - [OPTIONS] ...
-c <cloud provider>, set cloud provider
------------------------------------ List of supported clouds ------------------------------
Amazon, Atmos, ATT, Azure, Bluelock, CloudCentral, CloudSigma, CloudStack, CloudStack3
CloudStack4, Eucalyptus, GoGrid, Google, IBM, Joyent, OpenStack, Rackspace, ServerExpress
Terremark, VMware, Other
--------------------------------------------------------------------------------------------
# start ubuntu 12.04 in aws
apt-get update
apt-get install git-core libsqlite3-dev python2.7-dev python-nose
git clone git@github.com:buzztroll/es-ex-pyagent.git
virtualenv --no-site-packages /root/AgentVE
. /root/AgentVE/bin/activate
cd es-ex-pyagent/src
Launch a VM from the following set of distributions via DCM.
ubuntu:
- 10.04 amd64
- 10.04 i386
- 12.04 amd64
- 12.04 i386
- 14.04 amd64
- 14.04 i386
- debian 7.5 amd64