jquery / infrastructure-puppet

Puppet configuration for jQuery Infrastructure servers.
MIT License
7 stars 9 forks source link

Provision robots.txt disable for stage.* sites #32

Closed Krinkle closed 1 year ago

Krinkle commented 1 year ago

Similar to old hosts, we didn't copy this part over: https://github.com/jquery/infrastructure-puppet/commit/d736898495be9378ee5eea5c0d6821b9f40878a0?diff=unified#diff-2ff59c9c8afebb232a1b58b7d566ce6f59017f0ae67bbdfc7baa7baaff3c22df

Given that we rewrite robots.txt to wordpress, and wordpress has (afaik) a setting for this, another approach might be to set the appropiate wp option at runtime on staging sites.