Copyright 2015 Barry Allard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Perform the Puppet master migration by changing the server value in | |
# puppet.conf | |
# and reset nodes certificates | |
# | |
class puppet::migrate ( $puppetmaster ) { | |
if $puppetmaster == undef { | |
fail('You must define the targeted Puppet master to perform the migration') | |
} |
This was obtained from y-yoshinoya at https://gist.github.com/y-yoshinoya/413fcd3f6bfcfce54456
wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian precise non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'
sudo apt-get update
sudo apt-get install linux-headers-$(uname -r) build-essential virtualbox-4.3 dkms
#Some discussions on logging from docker: Using logstash Using Papertrail
A lot of this boils down to whether you want a single or multi-process (systemd, supervisord etc.) container...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Let the person running the script know what's going on. | |
echo "Pulling in latest changes for all repositories..." | |
# Find all git repositories and update it to the master latest revision | |
for i in $(find ./Addons -name ".git" | sed 's/....$//'); do | |
echo ""; | |
echo "+$i+"; |