Skip to content

Instantly share code, notes, and snippets.

View oquidave's full-sized avatar

David Okwii oquidave

View GitHub Profile
@oquidave
oquidave / deployment-tool-ansible-puppet-chef-salt.md
Created November 28, 2016 11:15 — forked from jaceklaskowski/deployment-tool-ansible-puppet-chef-salt.md
Choosing a deployment tool - ansible vs puppet vs chef vs salt

Requirements

  • no upfront installation/agents on remote/slave machines - ssh should be enough
  • application components should use third-party software, e.g. HDFS, Spark's cluster, deployed separately
  • configuration templating
  • environment requires/asserts, i.e. we need a JVM in a given version before doing deployment
  • deployment process run from Jenkins

Solution

@oquidave
oquidave / gist:e853fd63026006bc1014219c7d42010f
Created June 22, 2018 21:43
python-build.20180622200300.2889.log
/tmp/python-build.20180622200300.2889 /home/vagrant
/tmp/python-build.20180622200300.2889/Python-3.6.0 /tmp/python-build.20180622200300.2889 /home/vagrant
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for python3.6... no
checking for python3... python3
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... linux
checking for --without-gcc... no
@oquidave
oquidave / _service.md
Created April 1, 2016 10:08 — forked from naholyr/_service.md
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.

Usage

Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)