Skip to content

Instantly share code, notes, and snippets.

View dalekurt's full-sized avatar

Dale-Kurt Murray dalekurt

View GitHub Profile
@dalekurt
dalekurt / gist:7b44632d28b7b34afb55
Created May 20, 2015 21:27
Install Docker Machine with dependencies
#!/bin/bash
#
# A script for setting up a productive development environment with Docker
# on OS X. See https://github.com/brikis98/docker-osx-dev for more info.
set -e
# Environment variable file constants
readonly BASH_PROFILE="$HOME/.bash_profile"
readonly BASH_RC="$HOME/.bashrc"
@dalekurt
dalekurt / gist:5c9585e255ada8b151e8
Created May 20, 2015 19:43
Docker Compose Traceback
docker-compose up
Recreating dockermonitoring_influxsrv_1...
Creating dockermonitoring_cadvisor_1...
Traceback (most recent call last):
File "<string>", line 3, in <module>
File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.main", line 31, in main
File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command", line 21, in sys_dispatch
File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.command", line 27, in dispatch
File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.docopt_command", line 24, in dispatch
File "/compose/build/docker-compose/out00-PYZ.pyz/compose.cli.command", line 59, in perform_command
ansible -m ping -u ubuntu all
Traceback (most recent call last):
File "/usr/local/Cellar/ansible/1.8.1/libexec/bin/ansible", line 194, in <module>
(runner, results) = cli.run(options, args)
File "/usr/local/Cellar/ansible/1.8.1/libexec/bin/ansible", line 112, in run
inventory_manager = inventory.Inventory(options.inventory, vault_password=vault_pass)
File "/usr/local/Cellar/ansible/1.8.1/libexec/lib/python2.7/site-packages/ansible/inventory/__init__.py", line 118, in __init__
self.parser = InventoryScript(filename=host_list)
File "/usr/local/Cellar/ansible/1.8.1/libexec/lib/python2.7/site-packages/ansible/inventory/script.py", line 49, in __init__
self.groups = self._parse(stderr)
vagrant ssh deis-1
Last login: Thu Nov 20 00:56:34 2014 from 10.0.2.2
* * * ***** ddddd eeeeeee iiiiiii ssss
* * * * * * d d e e i s s
* * ***** ***** d d e i s
***** * * * d d e i s
* * * * * * d d eee i sss
***** * * ***** d d e i s
* ***** * * d d e i s
* * * * * * d d e e i s s
@dalekurt
dalekurt / gist:3ac342e9c90013a9f6a7
Last active August 29, 2015 14:10
Log output from systemctl status fleet
$ sudo systemctl status fleet
● fleet.service - fleet daemon
Loaded: loaded (/usr/lib64/systemd/system/fleet.service; static)
Drop-In: /run/systemd/system/fleet.service.d
└─20-cloudinit.conf
Active: active (running) since Thu 2014-11-20 00:04:31 UTC; 52min ago
Main PID: 871 (fleetd)
CGroup: /system.slice/fleet.service
└─871 /usr/bin/fleetd
@dalekurt
dalekurt / gist:b9276709e17485706e8e
Created November 8, 2014 16:58
git-push-baz-master-error-log
git push bar master
Counting objects: 4106, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1404/1404), done.
Writing objects: 100% (4106/4106), 21.00 MiB | 70.00 KiB/s, done.
Total 4106 (delta 2587), reused 4028 (delta 2521)
-----> Cleaning up ...
remote: Cloning into '/tmp/tmp.7yvmXCCEWQ'...
-----> Building bar ...
remote: warning: You appear to have cloned an empty repository.
git push dokku master
Counting objects: 3835, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1262/1262), done.
Writing objects: 100% (3835/3835), 20.80 MiB | 78.00 KiB/s, done.
Total 3835 (delta 2407), reused 3816 (delta 2400)
-----> Cleaning up ...
remote: Cloning into '/tmp/tmp.uJ34zlwHis'...
-----> Building rekyl ...
remote: warning: You appear to have cloned an empty repository.