Update OpenstackId Prod Node Settings

moved from smtp email driver to sendgrid

Change-Id: I719a3fd7e730972b7a0784a9a4857a76672119d0
This commit is contained in:
smarcet 2019-04-30 13:13:38 -03:00
parent 728ed674da
commit fa0f5860d2
2 changed files with 3 additions and 4 deletions

View File

@ -1105,10 +1105,8 @@ node /^openstackid\d*(\.openstack)?\.org$/ {
app_key => hiera('openstackid_app_key'),
id_log_error_to_email => 'openstack@tipit.net',
id_log_error_from_email => 'noreply@openstack.org',
email_driver => 'smtp',
email_smtp_server => 'smtp.sendgrid.net',
email_smtp_server_user => hiera('openstackid_smtp_user'),
email_smtp_server_password => hiera('openstackid_smtp_password'),
email_driver => 'sendgrid',
email_send_grid_api_key => hiera('openstackid_send_grid_api_key'),
php_version => 7,
mysql_ssl_enabled => true,
mysql_ssl_ca_file_contents => hiera('openstackid_mysql_ssl_ca_file_contents'),

View File

@ -46,6 +46,7 @@ class openstack_project::openstackid_prod (
$app_url = '',
$app_key = '',
$email_driver = 'mail',
$email_send_grid_api_key = '',
$email_smtp_server = 'smtp.mailgun.org',
$email_smtp_server_port = 587,
$email_smtp_server_user = '',