Updated OpenStackId Production Node

* updated release label to 2.0.0
** php7.x
** LV 5.6
* update node OS to xenial

Change-Id: Ifd1f2b01583dbe533197254a2ef7f7e5db6dacb4
This commit is contained in:
Sebastian Marcet 2019-02-18 10:30:39 -03:00
parent a65bbf7b16
commit b4ed722bc6
2 changed files with 30 additions and 29 deletions

View File

@ -1093,37 +1093,38 @@ node /^backup\d+\..*\.ci\.open.*\.org$/ {
include openstack_project::backup_server include openstack_project::backup_server
} }
# Node-OS: trusty # Node-OS: xenial
node /^openstackid\d*(\.openstack)?\.org$/ { node /^openstackid\d*(\.openstack)?\.org$/ {
$group = "openstackid" $group = "openstackid"
class { 'openstack_project::openstackid_prod': class { 'openstack_project::openstackid_prod':
site_admin_password => hiera('openstackid_site_admin_password'), site_admin_password => hiera('openstackid_site_admin_password'),
id_mysql_host => hiera('openstackid_id_mysql_host', 'localhost'), id_mysql_host => hiera('openstackid_id_mysql_host', 'localhost'),
id_mysql_password => hiera('openstackid_id_mysql_password'), id_mysql_password => hiera('openstackid_id_mysql_password'),
id_mysql_user => hiera('openstackid_id_mysql_user', 'username'), id_mysql_user => hiera('openstackid_id_mysql_user', 'username'),
id_db_name => hiera('openstackid_id_db_name'), id_db_name => hiera('openstackid_id_db_name'),
ss_mysql_host => hiera('openstackid_ss_mysql_host', 'localhost'), ss_mysql_host => hiera('openstackid_ss_mysql_host', 'localhost'),
ss_mysql_password => hiera('openstackid_ss_mysql_password'), ss_mysql_password => hiera('openstackid_ss_mysql_password'),
ss_mysql_user => hiera('openstackid_ss_mysql_user', 'username'), ss_mysql_user => hiera('openstackid_ss_mysql_user', 'username'),
ss_db_name => hiera('openstackid_ss_db_name', 'username'), ss_db_name => hiera('openstackid_ss_db_name', 'username'),
redis_password => hiera('openstackid_redis_password'), redis_password => hiera('openstackid_redis_password'),
ssl_cert_file_contents => hiera('openstackid_ssl_cert_file_contents'), ssl_cert_file_contents => hiera('openstackid_ssl_cert_file_contents'),
ssl_key_file_contents => hiera('openstackid_ssl_key_file_contents'), ssl_key_file_contents => hiera('openstackid_ssl_key_file_contents'),
ssl_chain_file_contents => hiera('openstackid_ssl_chain_file_contents'), ssl_chain_file_contents => hiera('openstackid_ssl_chain_file_contents'),
id_recaptcha_public_key => hiera('openstackid_recaptcha_public_key'), id_recaptcha_public_key => hiera('openstackid_recaptcha_public_key'),
id_recaptcha_private_key => hiera('openstackid_recaptcha_private_key'), id_recaptcha_private_key => hiera('openstackid_recaptcha_private_key'),
vhost_name => 'openstackid.org', vhost_name => 'openstackid.org',
session_cookie_domain => 'openstackid.org', session_cookie_domain => 'openstackid.org',
serveradmin => 'webmaster@openstackid.org', serveradmin => 'webmaster@openstackid.org',
canonicalweburl => 'https://openstackid.org/', canonicalweburl => 'https://openstackid.org/',
app_url => 'https://openstackid.org', app_url => 'https://openstackid.org',
app_key => hiera('openstackid_app_key'), app_key => hiera('openstackid_app_key'),
id_log_error_to_email => 'openstack@tipit.net', id_log_error_to_email => 'openstack@tipit.net',
id_log_error_from_email => 'noreply@openstack.org', id_log_error_from_email => 'noreply@openstack.org',
email_driver => 'smtp', email_driver => 'smtp',
email_smtp_server => 'smtp.sendgrid.net', email_smtp_server => 'smtp.sendgrid.net',
email_smtp_server_user => hiera('openstackid_smtp_user'), email_smtp_server_user => hiera('openstackid_smtp_user'),
email_smtp_server_password => hiera('openstackid_smtp_password'), email_smtp_server_password => hiera('openstackid_smtp_password'),
php_version => 7,
} }
} }

View File

@ -42,7 +42,7 @@ class openstack_project::openstackid_prod (
$serveradmin = '', $serveradmin = '',
$canonicalweburl = '', $canonicalweburl = '',
$session_cookie_domain = '', $session_cookie_domain = '',
$release = '1.0.25', $release = '2.0.0',
$app_url = '', $app_url = '',
$app_key = '', $app_key = '',
$email_driver = 'mail', $email_driver = 'mail',