Introduction

The zl-* utilities are custom wrapper scripts designed to simplify common tasks for developers by providing a user-friendly interface over more complex systems. Below is a comprehensive guide to each utility, including usage examples and options.

1. zl-chef-client

Purpose: Simplifies running chef-client commands by filtering out irrelevant logs and allowing developers to deploy basic recipes.

Chef client for a given service checks for the current build from consul and deploys it on the server.

2. zl-pg-connect

Purpose: Connects to PostgreSQL databases specific to services. Access is limited to RDS instances from dbrouter servers.

For connecting to stage databases, connect to stage_dbrouter_1 machine For connecting to prod databases, connect to prod_dbrouter_1 machine

3. zl-mongo-connect

Purpose: Provides access to MongoDB instances for specific services. Requires database-level access permissions.

For connecting to stage databases, connect to stage_dbrouter_1 machine For connecting to prod databases, connect to prod_dbrouter_1 machine