Intelligent looping in saltstack state files – Testing for pillar data on the fly

So bit ago I made a post about looping through a set of keys in pillar data to populate an ssh-keys file. I'd like to expand on that a bit. I've got a salt state to provide a link to my internal yum repository. Now my internal yum repository has multiple branches, setup in the style of cPanel. i.e., a RELEASE branch (tied to production) and an EDGE [...]

Read more

For loops and pillar data in saltstack states

I was tinkering with iterating through pillar data in saltstack and I hit an odd bump. First and foremost, pillar data is apparently only available during the highstate runs. [...]

Configuring PostgreSQL on CentOS using Saltstack

Recently I've fallen in love with a mass server management system called "Salt" or "Saltstack".  After playing with Chef and Puppet, this thing stands out as truly amazing... [...]

Setting up internal IPs on SolusVM (with CentOS or RedHat)

Hey there, I ran into a bit of an oddity today, so I figured I'd post it on up here to hopefully save someone else a bit of trouble. :) We've recently been using SolusVM [...]

SSH timeouts suck.

So if you're ever connected to a remote machine (or several), and you frequently see this message after you walk away from your term for a bit... Write failed: Broken [...]

Adding custom nameservers and a custom gateway to your openstack virtual machines

This took me awhile to figure out today, so I figure it's worth a post (and we all know I'm WAAAY behind on those!). The problem I ran into was with an OpenStack (diablo [...]

Something old, something new, something borrowed, something… Orange?

Guys and Gals, Awhile back, I had a list of URLs that were handy to me, as an admin. Mailchecker sites that'd hit up SPF/MX/RBL/header checks, DNS verification sites and [...]

Woops.

Hey guys, just so you know, I'm in the process of rebuilding and restoring serveradmins.NET. I hit an odd bug on the FreeBSD 7.4->8.2 upgrade which resulted in the default [...]

XCache 1.3.0 install – with cPanel and CentOS

Hey there! I figure it's been a little bit, so I've gone ahead and decided to update the XCache installer for version 1.3.0, and my favorite control panel, cPanel. [...]

Howto show the current runlevel in linux…

Quick one here, mostly for my own notes than anything else. :) An easy way to see the existing runlevel is with the 'who -r' command. root@server:~ # who -r [...]

Howto enable CGI in the builtin OSX webserver

Recently I've caught myself writing more code on my Macbook and for the first time in... YEARS, not needing an internet connection to actually be productive. To be quite [...]