Travelling Consultant Hardware Essentials

Day 18 in the #vDM30in30 I’ve been a traveling consultant for about 4 years now, and there’s a few pieces of hardware that have made my professional life a lot more enjoyable, tech-wise. Jabra SPEAK 510 A few years ago I learnt about the joy of trying to perform a multi-person standup on one computer. Feedback loops, crappy built in laptop microphones and everyone asking you to mute your mic from background noise when it is working. Not fun. ...

November 18, 2016 · 6 min · Peter Souter

Drying up rspec with shared_examples

Day 17 in the #vDM30in30 Header image taken from https://www.relishapp.com/rspec/rspec-core/docs/example-groups/shared-examples One of the areas where it’s easy to have WET (We Enjoy Typing) code that you want to DRY (Don’t Repeat Yourself) up, is tests. When writing tests for similar areas of code, it’s easy to end up copy and pasting. You have to pieces of functionality that need to be tested in the same way, so why not copy and paste the testing code? ...

November 17, 2016 · 11 min · Peter Souter

GUI's for a Puppet estate

Day 16 in the #vDM30in30 I actually wrote a Stack Overflow answer to this, but I thought I’d formalise and update it a bit. How do the GUI’s work? So, most Puppet GUI’s and Dashboards use reporting from PuppetDB, so as long as you have PuppetDB in your infra they will work, regardless of your Puppet version. It simply takes reports from PuppetDB and performs queries again PuppetDB for searches about information. ...

November 16, 2016 · 2 min · Peter Souter

JMX puppetserver metrics vagrant stack

Day 15 in the #vDM30in30 As I discussed previously, I have been working on getting a Vagrant stack to demonstrate how JMX metrics from puppetserver look. And I succeeded! (kind of…) How it works The main bit is here: puppet_enterprise::profile::master::java_args: Xmx: '2048m' Xms: '2048m' 'Dcom.sun.management.jmxremote.port': '=1099' 'Dcom.sun.management.jmxremote.authenticate': '=false' 'Dcom.sun.management.jmxremote.ssl': '=false' This is hiera config, that sets Puppet Enterprise’s specific Puppet code to configure puppetserver JAVA_ARGS, which will start the JMX service on 1099. From there, we can configure a generic profile to setup jmxtrans on the Puppet master machine: ...

November 15, 2016 · 2 min · Peter Souter

The Story of Errata for CentOS

Day 14 in the #vDM30in30 Image taken from Implementing Spacewalk into Company Infrastructure I’ve done a bunch of work with customers around patch management and packaging errata for CentOS, so I thought I’d talk about it a bit. What is errata? In the context of packaging, errata is basically listings from the package manager upstreams with updates for when CVE’s and vulnerabilities are found. So for official RHEL systems, this is available by default from the upstream, and the whole managed with Red Hat’s Satellite tool, which gets the information directly from RedHat’s infrastructure with your official paid login. ...

November 14, 2016 · 5 min · Peter Souter