Merge "Enable SSL for groups.openstack.org"
This commit is contained in:
commit
afd18da9a4
@ -215,6 +215,9 @@ node 'groups.openstack.org' {
|
||||
site_mysql_host => hiera('groups_site_mysql_host', 'localhost'),
|
||||
site_mysql_password => hiera('groups_site_mysql_password', 'XXX'),
|
||||
conf_cron_key => hiera('groups_conf_cron_key', 'XXX'),
|
||||
site_ssl_cert_file_contents => hiera('groups_site_ssl_cert_file_contents', undef),
|
||||
site_ssl_key_file_contents => hiera('groups_site_ssl_key_file_contents', undef),
|
||||
site_ssl_chain_file_contents => hiera('groups_site_ssl_chain_file_contents', undef),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -20,6 +20,12 @@ class openstack_project::groups (
|
||||
$site_mysql_password = '',
|
||||
$conf_cron_key = '',
|
||||
$sysadmins = [],
|
||||
$site_ssl_cert_file_contents = undef,
|
||||
$site_ssl_key_file_contents = undef,
|
||||
$site_ssl_chain_file_contents = undef,
|
||||
$site_ssl_cert_file = '/etc/ssl/certs/groups.openstack.org.pem',
|
||||
$site_ssl_key_file = '/etc/ssl/private/groups.openstack.org.key',
|
||||
$site_ssl_chain_file = '/etc/ssl/certs/groups.openstack.org_ca.pem',
|
||||
) {
|
||||
|
||||
realize (
|
||||
@ -50,6 +56,13 @@ class openstack_project::groups (
|
||||
site_alias => 'groups',
|
||||
site_profile => 'groups',
|
||||
site_base_url => 'http://groups.openstack.org',
|
||||
site_ssl_enabled => true,
|
||||
site_ssl_cert_file_contents => $site_ssl_cert_file_contents,
|
||||
site_ssl_key_file_contents => $site_ssl_key_file_contents,
|
||||
site_ssl_chain_file_contents => $site_ssl_chain_file_contents,
|
||||
site_ssl_cert_file => $site_ssl_cert_file,
|
||||
site_ssl_key_file => $site_ssl_key_file,
|
||||
site_ssl_chain_file => $site_ssl_chain_file,
|
||||
package_repository => 'http://tarballs.openstack.org/groups/drupal-updates/release-history',
|
||||
package_branch => 'stable',
|
||||
conf_cron_key => $conf_cron_key,
|
||||
|
Loading…
Reference in New Issue
Block a user