This is a super simple way of installing a current version of Puppet on your Ubuntu servers.
You will need
All you need is SSH access with SSH KEYS, and Ansible installed. My thinking is that once you have SSH access, you should be able to do anything you please with the resources.
Why would you want to do this?
- Puppet can be a pain to install (up to date versions, instead of OS version)
- You may not have a preseeded, kickstart iso
- You may have previous outdated installation, and you need to get compliant
- With Ansible you will not need to repeat a series of steps, and you will know for sure that all the steps have been completed
Here I assume you have a recent version of Ansible installed with pip.
My ansible hosts file looks like this (it can live in your home folder and can be called staging ~/staging )
My ansible playbook looks like this, it should live next to the hosts file for convenience. I called this file puppet.yml .
# Install a puppet_apt_list.deb and then install puppet
- hosts: all
- name: download puppet 3
get_url: url=http://apt.puppetlabs.com/puppetlabs-release-stable.deb dest=/tmp/puppetlabs-release-stable.deb
- name: install puppet apt source
- name: update apt
- name: install puppet
apt: name=puppet state=present
This is how I ran my playbook against my proxmox-webservers :
ansible-playbook -v puppet.yml -i staging
The -v option will make the output busier, so you see what is going on.
CAVEAT: This is by no means stable, reliable or noobie friendly. June 12 2014, zfsonline release update, your zfs pool is now not accessible. http://serverfault.com/questions/606299/zfs-on-linux-upgrade-from-0-6-2-to-0-6-3-made-my-zpool-unreadable-help-translate
PROXMOX is a free open source virtualization environment based on Debian. Proxmox has KVM and openvz virtualization.
ZFS is the legendary Solaris filesystem and volume manager, that really cares about keeping your data intact.
Running ZFS and PROXMOX on the same box is not the best idea for production, but it is very convenient if you have dev/lab setup.
This should be a very clear guide on how to setup ZFS on PROXMOX.
I have this running on my Supermicro server.
MODEL: SuperServer 6026TT-GTRF
MOTHERBOARD: 2x X8DTT-HF
CPU: 1x Xeon X5620 Quadcore 2.4Ghz
RAM: 3x 4GB = 12GB
STORAGE: 4x 1TB, 1x 500GB
Only one server node is being used.
The virtual machines are relatively fast, I should really run some benchmarks and share the output.
I like watching youtube videos along side whatever I am reading.
But the player is clunky.
So I made this bookmarklet that opens the youtube video in a new full window, it scales if you resize it.
Click, hold and drag this bookmarklet to your bookmarks toolbar.
Then click on it when you are watching a video on youtube.
Here is the code:
I am now addicted to Terraria, it’s really really good, and I would like to play with friends across the interwebs.
Because at home I have two routers and two firewalls between my computer and the internet, my wi-fi is a separate network and I use open-vpn (OpenVPN for Android) from my android to connect to my media on the “safe network”.
It’s all really complicated, and in my opinion NAT (network address translation) is stupid because you have to “control” so many points along the route that configuration changes become a nightmare.
You will install tshock and mono on Ubuntu 12.04 (I used a virtual machine for the Terraria server 2CORES 2GB RAM because mono was not happy with 512MB of RAM). Then you will configure the ssh service on your rackspace Ubuntu server to accept “Gateway ports”.
Then you will run a reverse SSH tunnel from the terraria server and everything will work.
Some months ago I purchased an Anker 13000mAh battery pack with the intent to possibly power my raspberry pi without mains.
The Anker battery pack is an amazing bit of kit, I highly recommend buying one if you travel.
If you have a need to move a lot of files and folders on a windows domain file server, you want to make sure you do it fast, automated, well and if things do go wrong, you want to know where and why.
More powershell goodness.
This script is useful if you want to know which users have office365 archive mailbox enabled and how big the user mailboxes are. All of this info is then timestamped and exported to csv.
I use powershell, I also happen to use office365. Sometimes, I need to remove old mailboxes, but before removing them I need a reliable automated way of exporting the mailboxes to PST.
The humble bundle for android is out, it’s good and awesome and you should go buy it now because it will make you a better person.
I installed, and then played star command for many hours because commuting is only fun when you aren’t making any eye contact with anybody else (those are actually the rules if you read the back of your oyster card).
If you have issues running some PHP script on your fresh RaspberryPi and you see things like this in your apache error log (