Building Puppet Modules
It sucks. Until now.
Ok, it doesn’t all suck. What sucks is writing tests for your puppet modules, right?
What to test? How to test it? Is rspec even working?
Forget it, why bother.
Yeah, bother. And you know why. Someone is going to come along and make a commit to your module that breaks your module. They’ll remove something from a config file, fail to update a dependency, or leave a service in a broken state. Then what happens? You catch hell, that’s what.
It was your module.
But what if you had a workflow that put you in a position to write tests for your modules, ensuring that everything is exactly as it should be. Even better: tests were run that proved that. Let’s go for complete dream-land here: what if it was set up in such a way that it was easy for anyone contributing to your module run those tests and add their own? More