|
|
|
@ -199,31 +199,6 @@ node /^firehose\d+\.open.*\.org$/ {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# Node-OS: trusty
|
|
|
|
|
# Node-OS: xenial
|
|
|
|
|
node /^refstack\d*\.open.*\.org$/ {
|
|
|
|
|
class { 'openstack_project::server': }
|
|
|
|
|
class { 'refstack':
|
|
|
|
|
mysql_host => hiera('refstack_mysql_host', 'localhost'),
|
|
|
|
|
mysql_database => hiera('refstack_mysql_db_name', 'refstack'),
|
|
|
|
|
mysql_user => hiera('refstack_mysql_user', 'refstack'),
|
|
|
|
|
mysql_user_password => hiera('refstack_mysql_password'),
|
|
|
|
|
ssl_cert_content => hiera('refstack_ssl_cert_file_contents'),
|
|
|
|
|
ssl_cert => '/etc/ssl/certs/refstack.pem',
|
|
|
|
|
ssl_key_content => hiera('refstack_ssl_key_file_contents'),
|
|
|
|
|
ssl_key => '/etc/ssl/private/refstack.key',
|
|
|
|
|
ssl_ca_content => hiera('refstack_ssl_chain_file_contents'),
|
|
|
|
|
ssl_ca => '/etc/ssl/certs/refstack.ca.pem',
|
|
|
|
|
protocol => 'https',
|
|
|
|
|
}
|
|
|
|
|
mysql_backup::backup_remote { 'refstack':
|
|
|
|
|
database_host => hiera('refstack_mysql_host', 'localhost'),
|
|
|
|
|
database_user => hiera('refstack_mysql_user', 'refstack'),
|
|
|
|
|
database_password => hiera('refstack_mysql_password'),
|
|
|
|
|
require => Class['::refstack'],
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# A machine to run Storyboard
|
|
|
|
|
# Node-OS: xenial
|
|
|
|
|
node /^storyboard\d+\.opendev\.org$/ {
|
|
|
|
|