Skip to content

Instantly share code, notes, and snippets.

View amaltson's full-sized avatar

Arthur Maltson amaltson

View GitHub Profile
@amaltson
amaltson / gist:acdc588eae773b9dc318
Created February 24, 2015 14:24
Chef 12 upgrade failed
Chef 12 server started
Writing knife-ec-backup config to /tmp/knife-ec-backup-config.rb
Uploading transformed open source Chef 11 server data to Chef 12 server
Restoring users
Updating user record for admin
...
Restoring organization[<org here>]
Restoring org admin data
Restoring the rest of the org
Updated /clients/chef-webui.json
@amaltson
amaltson / .kitchen.yml
Last active June 5, 2020 18:48
Kitchen.yml for Windows
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
- name: windows-7
transport:
@amaltson
amaltson / keybase.md
Created October 8, 2014 01:50
keybase.md

Keybase proof

I hereby claim:

  • I am amaltson on github.
  • I am amaltson (https://keybase.io/amaltson) on keybase.
  • I have a public key whose fingerprint is 9B20 711C 3A78 8587 E5CF 8584 C2B9 C293 07BE A8DE

To claim this, I am signing this object:

@amaltson
amaltson / bosh.yml
Created August 14, 2014 03:14
BOSH Manifest
---
name: bosh
director_uuid: <UUID>
release:
name: bosh
version: 63 # change this when the version of BOSH changes
networks:
# all of these settings depend on your own infrastructure setup
- name: default
@amaltson
amaltson / locally pushing
Created July 21, 2014 17:43
Push enough and it works
$ sudo docker push repository:5000/acme/progrium-busybox
2014/07/21 13:32:46 Error: Invalid Registry endpoint: Get http://repository:5000/v1/_ping: dial tcp <IP address>:5000: connection refused
$
$ sudo docker push repository:5000/acme/progrium-busybox
2014/07/21 13:37:05 Error: Invalid Registry endpoint: Get http://repository:5000/v1/_ping: dial tcp <IP address>:5000: connection refused
$ sudo docker push repository:5000/acme/progrium-busybox
2014/07/21 13:37:08 Error: Invalid Registry endpoint: Get http://repository:5000/v1/_ping: dial tcp <IP address>:5000: connection refused
$ sudo docker push repository:5000/acme/progrium-busybox
2014/07/21 13:37:08 Error: Invalid Registry endpoint: Get http://repository:5000/v1/_ping: dial tcp <IP address>:5000: connection refused
$ sudo docker push repository:5000/acme/progrium-busybox
@amaltson
amaltson / gist:b97362c335822adab3d4
Created May 27, 2014 01:45
Failed CF deployment
Director task 27
Deprecation: Please use `templates' when specifying multiple templates for a job. `template' for multiple templates will soon be unsupported.
Deprecation: Please use `templates' when specifying multiple templates for a job. `template' for multiple templates will soon be unsupported.
Deprecation: Please use `templates' when specifying multiple templates for a job. `template' for multiple templates will soon be unsupported.
Started preparing deployment
Started preparing deployment > Binding deployment. Done (00:00:00)
@amaltson
amaltson / gist:e4ea63f07c0b75de24e2
Created May 26, 2014 14:03
Failed to generate deployment manifest
$ ./generate_deployment_manifest aws
2014/05/26 09:51:41 error generating manifest: unresolved nodes:
(( properties.template_only.aws.availability_zone )) in dynaml meta.zones.z1
(( properties.template_only.aws.availability_zone2 )) in dynaml meta.zones.z2
(( properties.template_only.aws.access_key_id )) in dynaml meta.fog_config.aws_access_key_id
(( properties.template_only.aws.secret_access_key )) in dynaml meta.fog_config.aws_secret_access_key
(( merge )) in ./templates/cf-infrastructure-aws.yml properties.template_only
(( properties.template_only.aws.access_key_id )) in dynaml properties.cc.resource_pool.fog_connection.aws_access_key_id
(( properties.template_only.aws.secret_access_key )) in dynaml properties.cc.resource_pool.fog_connection.aws_secret_access_key
(( properties.template_only.aws.access_key_id )) in dynaml properties.cc.packages.fog_connection.aws_access_key_id
@amaltson
amaltson / gist:9528776
Created March 13, 2014 13:45
Flynn fails to start
forego | starting etcd on port 5000
forego | starting discoverd on port 5100
forego | starting gitreceive on port 5200
forego | starting shelf on port 5300
forego | starting strowger on port 5400
forego | starting host on port 5500
forego | starting controller on port 5600
discoverd | 2014/03/13 13:42:28 Starting server on :1111...
etcd | [etcd] Mar 13 13:42:28.129 WARNING | Using the directory packer-virtualbox.etcd as the etcd curation directory because a directory was not specified.
etcd | [etcd] Mar 13 13:42:28.148 INFO | etcd server [name packer-virtualbox, listen on :4001, advertised url http://127.0.0.1:4001]
@amaltson
amaltson / gist:9512470
Created March 12, 2014 17:58
Vagrantfile for Deis install
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = 'ubuntu-12.04-provisionerless'
config.vm.box_url = 'http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-12.04_chef-provisionerless.box'
config.vm.host_name = 'deis'
config.vm.network :private_network, ip: "192.168.33.10"
@amaltson
amaltson / deployment
Last active August 29, 2015 13:57
Deis docker ps
$ git push deis master
-----> Ruby app detected
-----> Compiling Ruby/Rack
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.5.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Using rack (1.5.2)
Using tilt (1.4.1)
Using bundler (1.5.2)
Using rack-protection (1.5.0)