This guide series will be about setting up http://sanctionedlist.com with configuration management and TDD.
- Setting up a delivery system between Chef Server on a workstation for staging.
- Setting up testing with Chef Kitchen
- Unit testing
- Integration testing and roles
- Code clean up
- Setting up the stack
- Coming soon.
In the previous post, we did an integration test for PostgreSQL to ensure Chef actually sets up the database. Now after some coding, we need to clean it up. This will be a quick post on having clean readable code.
Run the following (These were included in the Chef Server installation):
The messages should be self-explanatory otherwise there’s Chef’s verify style.
In next post, lets create the rest of stack.