Jump to content

Fundraising/techops/docs/analytics stack/env vars

From Wikitech

Adding New Environment Variables

Environment variables are parameterized by puppet, our infrastructure as code tool. Non-secret variables are defined in the puppet repo on frpm, while secrets are defined in both puppet and puppet-private repos.

puppet template files are files ending in .erb. when puppet is run, these files get written to the host without the .erb extension and any puppet variables are replaced with their parameterized values. E.g.

running puppet agent -tv will load the relevant variable or ...