Skip to content

Split subnet-specific settings and deployment-specific settings

This introduces a new deployment fact that takes two values, production or staging. This is unfortunately not called environment as this variable name is already used by puppet to mean something else.

This decouples completely which deployment we're doing from what the branch name of the puppet repo is.

Depends on !232 (closed)

Test Plan

Needs to add the new fact to the octocatalog-diff data:

sed -i 's/^  subnet: azure_euwest$/&\n  deployment: production/' octocatalog-diff/facts/*.yaml
sed -i 's/^  subnet: sesi_rocquencourt$/&\n  deployment: production/' octocatalog-diff/facts/*.yaml
sed -i 's/^  subnet: .*staging$/&\n  deployment: staging/' octocatalog-diff/facts/*.yaml

Migrated from D4165 (view on Phabricator)

Merge request reports