Added openstackid dev sendgrid support
updated openstackid dev node configuration to use sendgrid api key from hiera Depends-On: https://review.openstack.org/#/c/651794/ Depends-On: https://review.openstack.org/#/c/651798/ Change-Id: I9fc5e9b24886105771a1be93d8d8a6c6e1189c32
This commit is contained in:
parent
65d9a8739a
commit
d6c2d3ab9e
@ -1182,10 +1182,8 @@ node /^openstackid-dev\d*\.openstack\.org$/ {
|
||||
app_key => hiera('openstackid_dev_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_dev_smtp_user'),
|
||||
email_smtp_server_password => hiera('openstackid_dev_smtp_password'),
|
||||
email_driver => 'sendgrid',
|
||||
email_send_grid_api_key => hiera('openstackid_dev_send_grid_api_key'),
|
||||
php_version => 7,
|
||||
mysql_ssl_enabled => true,
|
||||
mysql_ssl_ca_file_contents => hiera('openstackid_dev_mysql_ssl_ca_file_contents'),
|
||||
|
@ -45,6 +45,7 @@ class openstack_project::openstackid_dev (
|
||||
$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 = '',
|
||||
@ -108,6 +109,7 @@ class openstack_project::openstackid_dev (
|
||||
app_url => $app_url,
|
||||
app_key => $app_key,
|
||||
email_driver => $email_driver,
|
||||
email_send_grid_api_key => $email_send_grid_api_key,
|
||||
email_smtp_server => $email_smtp_server,
|
||||
email_smtp_server_port => $email_smtp_server_port,
|
||||
email_smtp_server_user => $email_smtp_server_user,
|
||||
|
Loading…
Reference in New Issue
Block a user