Skip to content

Instantly share code, notes, and snippets.

View elserhumano's full-sized avatar
🚀
Working from space! :)

Fernando elserhumano

🚀
Working from space! :)
View GitHub Profile
@elserhumano
elserhumano / puppet.conf
Created August 6, 2021 13:49 — forked from gary4est/puppet.conf
puppet.conf
Puppet Master /etc/puppet.conf
[main]
# The Puppet log directory.
# The default value is '$vardir/log'.
logdir = /var/log/puppet
# Where Puppet PID files are kept.
# The default value is '$vardir/run'.
rundir = /var/run/puppet
@elserhumano
elserhumano / ova-to-box.md
Created August 13, 2020 09:00 — forked from aondio/ova-to-box.md
Convert VirtualBox .ova to Vagrant box

Here's a step by step guide to convert a Virtualbox .ova to a Vagrant box.

  1. List your VMs to find the VM id you want to convert:
$ VBoxManage list vms
"testing" {a3f59eed-b9c5-4a5f-9977-187f8eb8c4d4}
  1. You can now package the .ova VM as Vagrant box:
@elserhumano
elserhumano / check-lvol.yml
Created April 8, 2020 17:33 — forked from ganto/check-lvol.yml
Test playbook for Ansible lvol module
---
# This playbook will check a wide range of code paths of the Ansible lvol module.
#
# Make sure you adjust `test_vg` and `test_pvs` variables according to the test volume group.
#
# Invoke with: ansible-playbook [-K][-v] check-lvol.yml
#
- hosts: localhost
become: True
@elserhumano
elserhumano / install-multiple-jdk-on-macos-high-sierra.md
Created April 1, 2020 19:04 — forked from ntamvl/install-multiple-jdk-on-macos-high-sierra.md
Install Multiple Java Versions on macOS High Sierra

Install Multiple Java Versions on macOS High Sierra

Install Homebrew Cask

On Mac, Homebrew is the de-facto package manager, and Homebrew Cask is the app manager. I’m going to use Cask to install Java 7 and 8.

Install Homebrew Cask first if you haven’t:

brew update
brew tap caskroom/cask
@elserhumano
elserhumano / README.md
Created January 27, 2020 12:15 — forked from danielepolencic/README.md
Create 3 nodes Kubernetes cluster locally with Vagrant

3 Virtual Machines Kubernetes cluster

Dependencies

You should install VirtualBox and Vagrant before you start.

Creating the cluster

You should create a Vagrantfile in an empty directory with the following content:

@elserhumano
elserhumano / gnl-from-scratch.sh
Created December 25, 2019 12:16 — forked from bnchdrff/gnl-from-scratch.sh
Docker orchestra
# Data instances should already be there... but this is how they were made:
docker run -v /var/lib/mysql --name=gnl-db-data busybox true
docker run -v /srv/www -v /etc/nginx/sites-enabled --name=gnl-www-data busybox true
# DB instance uses gnl-db-data volume.
docker run -d --volumes-from=gnl-db-data --name=gnl-db bnchdrff/mariadb
# Backend PHP/nginx links to db instance & also offers ssh access for dirty admin tasks. gnl-www-data has files.
docker run -d -p 2222:22 --link=gnl-db:db --volumes-from=gnl-www-data --name=gnl-backend bnchdrff/nginx-php5-drupal
@elserhumano
elserhumano / README.md
Created December 4, 2019 10:18 — forked from MoOx/README.md
How to keep in sync your Git repos on GitHub, GitLab & Bitbucket easily