So you keep hearing about this Puppet thing and how it's going to solve all of your DevOpsy configuration management problems. But what is it? How do you write a Puppet script? Well, as it turns out, the key concept is unlearning the habit of thinking about scripts. But all in good time. We'll get there. First, let's write some code.
Let's start out with something easy. You all know what the
/etc/motd file is. It's the message of the day file that's dumped to your screen every time you log in.