Skip to content

Instantly share code, notes, and snippets.

View kisoku's full-sized avatar

Mathieu Sauve-Frankel kisoku

View GitHub Profile
Using Omnibus configuration file /home/msf/git/omniscan-omnibus/omnibus.rb
Could not extract version information from `git describe`. Setting version to 0.0.0
Building python-crypto for omniscan project
Something went wrong...the Omnibus just ran off the road!
Error raised was:
Don't know how to build task ':build'
Backtrace:
@kisoku
kisoku / borks.rb
Last active December 30, 2015 02:49
require 'json'
# quickly generate a list of all the locked versions from Berksfile.lock
# in a format suitable for environment['cookbook_versions']
# basically berks apply without berkshelf
lockfile = JSON.load(IO.read("Berksfile.lock"))
cb_versions = {}
lockfile['sources'].keys.sort.each do |cb|
@kisoku
kisoku / .kitchen.yml
Created April 14, 2014 19:04
COOK-4556
---
driver:
name: vagrant
provisioner:
name: chef_solo
platforms:
- name: ubuntu-12.04
#!/bin/sh
bin_path=/opt/ruby-210/embedded/bin
update-alternatives --install /usr/bin/ruby ruby $bin_path/ruby 10 \
--slave /usr/bin/irb irb $bin_path/irb \
--slave /usr/bin/erb erb $bin_path/erb \
--slave /usr/bin/rdoc rdoc $bin_path/rdoc \
--slave /usr/bin/ri ri $bin_path/ri \
--slave /usr/bin/testrb testrb $bin_path/testrb \
@kisoku
kisoku / apt_repo_management_
Created June 1, 2014 01:59
Apt Repository Managers
Apt Repository Managers
* reprepro - https://launchpad.net/reprepro
* freight - https://github.com/rcrowley/freight
* prm - https://github.com/dnbert/prm
* depot - https://github.com/coderanger/depot