This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/01/21 17:06:02 [INFO] Packer version: 0.8.6 f8f7b7a34c1be06058f5aca23a51247db12cdbc5+CHANGES | |
2016/01/21 17:06:02 Packer Target OS/Arch: linux amd64 | |
2016/01/21 17:06:02 Built with Go Version: go1.5 | |
2016/01/21 17:06:02 [DEBUG] Discovered plugin: amazon-chroot = /home/lee/apps/packer/packer-builder-amazon-chroot | |
2016/01/21 17:06:02 [DEBUG] Discovered plugin: amazon-ebs = /home/lee/apps/packer/packer-builder-amazon-ebs | |
2016/01/21 17:06:02 [DEBUG] Discovered plugin: amazon-instance = /home/lee/apps/packer/packer-builder-amazon-instance | |
2016/01/21 17:06:02 [DEBUG] Discovered plugin: digitalocean = /home/lee/apps/packer/packer-builder-digitalocean | |
2016/01/21 17:06:02 [DEBUG] Discovered plugin: docker = /home/lee/apps/packer/packer-builder-docker | |
2016/01/21 17:06:02 [DEBUG] Discovered plugin: file = /home/lee/apps/packer/packer-builder-file | |
2016/01/21 17:06:02 [DEBUG] Discovered plugin: googlecompute = /home/lee/apps/packer/packer-builder-googlecompute |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── 1404-dev.json | |
├── 1404-min.json | |
├── LICENSE.md | |
├── Makefile | |
├── README.md | |
├── http | |
│ └── preseed.cfg | |
├── output-vbox | |
│ └── ubuntu-1404-vbox.vdi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The operation to create or update a virtual machine. | |
* | |
* @param {string} resourceGroupName The name of the resource group. | |
* | |
* @param {VirtualMachine} parameters Parameters supplied to the Create | |
* Virtual Machine operation. | |
* | |
* @param {Plan} [parameters.plan] Gets or sets the purchase plan when | |
* deploying virtual machine from VM Marketplace images. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@nomad:/opt/gopath/src/github.com/hashicorp/nomad$ time make test | |
--> Installing build dependencies | |
--> Building nomad | |
--> Running tests | |
ok github.com/hashicorp/nomad 0.007s coverage: 0.0% of statements | |
ok github.com/hashicorp/nomad/api 31.762s coverage: 85.0% of statements | |
ok github.com/hashicorp/nomad/client 24.027s coverage: 43.2% of statements | |
ok github.com/hashicorp/nomad/client/allocdir 0.007s coverage: 37.7% of statements | |
ok github.com/hashicorp/nomad/client/config 0.005s coverage: 30.8% of statements | |
2016/01/11 16:11:05 [DEBUG] driver.docker: using client connection initialized from environment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import subprocess | |
import os | |
small_before_re = re.compile("(\w+) /tmp/small") | |
big_before_re = re.compile("(\w+) /tmp/big") | |
small_after_re = re.compile("(\w+) small") | |
big_after_re = re.compile("(\w+) big") | |
os.putenv("PACKER_LOG", "1") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ok github.com/hashicorp/consul-template 0.497s | |
2015/06/08 13:14:33 [DEBUG] ("file(/var/folders/mt/q5nyhg2x4hvg77ycy189g3g80000gn/T/235240652)") querying file | |
2015/06/08 13:14:33 [DEBUG] ("file(/var/folders/mt/q5nyhg2x4hvg77ycy189g3g80000gn/T/755766715)") querying file | |
2015/06/08 13:14:33 [DEBUG] ("file(/var/folders/mt/q5nyhg2x4hvg77ycy189g3g80000gn/T/755766715)") querying file | |
2015/06/08 13:14:33 [DEBUG] ("file(/var/folders/mt/q5nyhg2x4hvg77ycy189g3g80000gn/T/979158494)") querying file | |
2015/06/08 13:14:33 [DEBUG] ("file(/var/folders/mt/q5nyhg2x4hvg77ycy189g3g80000gn/T/979158494)") querying file | |
2015/06/08 13:14:33 [INFO] core: security barrier initialized (shares: 1, threshold 1) | |
2015/06/08 13:14:33 [INFO] core: post-unseal setup starting | |
2015/06/08 13:14:33 [INFO] rollback: starting rollback manager | |
2015/06/08 13:14:33 [INFO] core: post-unseal setup complete |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015/06/01 17:07:57 Running builder: foo | |
2015/06/01 17:07:57 ui: ==> test: Running post-processor: testPP | |
2015/06/01 17:07:57 Flagging to keep original artifact from post-processor 'testPP' | |
2015/06/01 17:07:57 Running builder: foo | |
2015/06/01 17:07:57 Running builder: foo | |
2015/06/01 17:07:57 ui: ==> test: Running post-processor: pp | |
2015/06/01 17:07:57 Deleting original artifact for build 'test' | |
2015/06/01 17:07:57 Running builder: foo | |
2015/06/01 17:07:57 ui: ==> test: Running post-processor: pp | |
2015/06/01 17:07:57 ui: ==> test: Running post-processor: pp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -x | |
mkdir -p /tmp/consul | |
cd /tmp/consul | |
# Consul Configuration File | |
tee consul.json <<CONSULCONFIG | |
{ | |
"bootstrap_expect": 3, | |
"client_addr": "0.0.0.0", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// This program makes HTTP requests to three different URLs using goroutines. | |
// You can think of a goroutine as a forked process, and what you should see is | |
// that slower HTTP calls will appear last in the output, even if they appear | |
// first in the code. | |
// | |
// In my case, bbc.co.uk takes longest to respond and appears last in the | |
// program's output, even though it appears first in the code. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$username = ''; | |
$password = ''; | |
$servers = array( | |
'127.0.0.1', | |
); | |
class ReplicationCheck | |
{ |