Page MenuHomePhabricator

Update settings for environment indicator to reflect new format
Closed, ResolvedPublic

Description

We have settings in the puppet managed file that have been renamed - this is what we want in future

/etc/fundraising/drupal.settings.php
$conf['environment_indicator_overwritten_name'] = 'Production';
$conf['environment_indicator_overwritten_color'] = '#bf9ce5';
$conf['environment_indicator_overwrite'] = TRUE;

The colour itself is up for negotiation - currently HOT PINK - the above is a little less aggressive

Note this is primarily tidy up & reduces drupal warnings

@Ejegg ping

Event Timeline

@Eileenmcnaughton is this correct?

- $conf['environment_indicator_enabled'] = 1;
+ $conf['environment_indicator_overwrite'] = TRUE;

- $conf['environment_indicator_position'] = 'left';

- $conf['environment_indicator_text'] = 'PRODUCTION';
+ $conf['environment_indicator_overwritten_name'] = 'Production';

- $conf['environment_indicator_color'] = '#EC45C2';
+ $conf['environment_indicator_overwritten_color'] = '#bf9ce5';

Also, can we do this anytime or do we need to coordinate with a code deployment?

@Jgreen looks good & any time is fine - it affects the icon on the browser tab - ie

Screen Shot 2019-04-17 at 7.32.05 AM.png (32×72 px, 7 KB)

@Jgreen looks good & any time is fine - it affects the icon on the browser tab - ie

Ok, this is done!