Puppet tips

I don’t like puppet, I grew up with Chef, though Puppet is as good as Chef. When programming a new puppet manifest I always start with logical structure, I test this structure using notify commands. Puppet has a DSL, it’s not ruby, it’s not a “normal” language. For example there are no variables. There are constants, they look like variables though they are not mutable. Puppet code is build out of Resource statements. There are…

Continue reading

Tests…tests…test

“I tested it, and it seems to be ok…” if I had a dollar for each time I’ve heard this line… though I don’t. tests are not just a nice it’s mandatory. tests need to be well documented and reviewed. without full set of tests your feature, script or even entire application is flawed. a truly full set of test will ensure you have no holes, no, full coverage of desired content and no bugs.

Continue reading