I really want to get more experience with Puppet as it’s the Thing Du Jour [tm]. I already have a CentOS VPS running with Nginx, PHP, MySQL and Minecraft so purchased an Ubuntu KVM VPS to use as my Puppet Master. I got both from Network Presence. Cheap prices and Australian to boot! Read more »
Category Archives: Puppet
Some Puppet podcasts
Lately, I’ve been looking into finding some Podcasts related to DevOps and Puppet to listen to.
Here’s a few I’ve started with:
- Ops All The Things – A Podcast about all things Operations, DevOps and Systems Administration (@OpsAllTheThings)
- DevOps Mastery – Our goal is to help individuals and teams become DevOps Masters (@DevOps)
- DevOps Cafe – Podcast with John Willis & Damon Edwards
- PuppetLabs Podcast – Podcast by PuppetLabs
- Arrested DevOps – There’s always DevOps in the banana stand (@ArrestedDevOps)
This should give me something to listen to during my afternoon walks and learn about Puppet and other DevOps stuff.
Better luck with Puppet
After my previous issues, I decided to download and install Fedora 20 for my Puppet server VM. A friend had mentioned he prefers Linux distros with a v3 kernel. I installed it and downloaded Puppet Enterprise 3.2.2 for RHEL. I found out, however, that even though there’s mention of supported packages for Fedora, you can’t use the tarball because they say Fedora changes too often to be stable. If you run the installer it says “Unsupported Platform”. Oh well.
So, I downloaded and installed Ubuntu server. My friend also recommends this.
Rolling back Ruby to get Puppet to work again
Wow! It’s such an adventure. I may have to give the AWS stuff a skip and just use local machines. A friend has offered me an old laptop which I’m going to install CentOS on.
Now I wish to use Ruby 1.8.7 again as Puppet will (hopefully) be happy! A post on a support mailing list said RVM can be used to switch between multiple installed Rubys. Neat! Let’s give it a go:
[root@centos ~]# rvm use 1.8.7
ruby-1.8.7-p374 is not installed.
To install do: 'rvm install ruby-1.8.7-p374'
More Puppet adventures
So I wanted to make sure Puppet only supports Ruby 1.8 as I’d seen on a support mailing list. It turns out the main Puppet Supported Platforms page says Puppet 3.5.1 supports Ruby 2.1. Epic win! So I installed it:
First, I need to install the Ruby Version Manager (RVM):
[root@centos ~]# curl -L get.rvm.io | bash -s stable
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 20511 100 20511 0 0 15003 0 0:00:01 0:00:01 --:--:-- 770k
Downloading https://github.com/wayneeseguin/rvm/archive/stable.tar.gz
Creating group 'rvm'
Installing RVM to /usr/local/rvm/
cp: cannot stat `/usr/local/rvm/src/rvm/bin/rake': No such file or directory
cp: cannot stat `/usr/local/rvm/src/rvm/bin/bundle': No such file or directory
Installation of RVM in /usr/local/rvm/ is almost complete:
* First you need to add all users that will be using rvm to 'rvm' group,
and logout - login again, anyone using rvm will be operating with `umask u=rwx,g=rwx,o=rx`.
* To start using RVM you need to run `source /etc/profile.d/rvm.sh`
in all your open shell windows, in rare cases you need to reopen all shell windows.
# Administrator,
#
# Thank you for using RVM!
# We sincerely hope that RVM helps to make your life easier and more enjoyable!!!
#
# ~Wayne, Michal & team.
In case of problems: http://rvm.io/help and https://twitter.com/rvm_io