James E. Blair 3925b2e6b4 Revert "Disable notifications in storyboard"
This reverts commit ddb4034837dfb1fcd16c60b93d66dec83bfc2ee9.

The underlying problem has hopefully been corrected.

Change-Id: I6fa913924f6b24b7e3c23e8c8d1787d779636971
2014-09-22 15:05:16 +00:00

57 lines
1.8 KiB
Puppet

# == Class: openstack_project::storyboard
#
class openstack_project::storyboard(
$mysql_host = '',
$mysql_password = '',
$mysql_user = '',
$rabbitmq_user = 'storyboard',
$rabbitmq_password,
$sysadmins = [],
$ssl_cert_file_contents = undef,
$ssl_key_file_contents = undef,
$ssl_chain_file_contents = undef,
$openid_url = 'https://login.launchpad.net/+openid'
) {
class { 'openstack_project::server':
sysadmins => $sysadmins,
iptables_public_tcp_ports => [80, 443],
}
class { '::storyboard::cert':
ssl_cert_content => $ssl_cert_file_contents,
ssl_cert => '/etc/ssl/certs/storyboard.openstack.org.pem',
ssl_key_content => $ssl_key_file_contents,
ssl_key => '/etc/ssl/private/storyboard.openstack.org.key',
ssl_ca_content => $ssl_chain_file_contents
}
class { '::storyboard::application':
hostname => $::fqdn,
openid_url => $openid_url,
mysql_host => $mysql_host,
mysql_database => 'storyboard',
mysql_user => $mysql_user,
mysql_user_password => $mysql_password,
rabbitmq_host => 'localhost',
rabbitmq_port => 5672,
rabbitmq_vhost => '/',
rabbitmq_user => $rabbitmq_user,
rabbitmq_user_password => $rabbitmq_password
}
class { '::storyboard::rabbit':
rabbitmq_user => $rabbitmq_user,
rabbitmq_user_password => $rabbitmq_password
}
# Load the projects into the database.
class { '::storyboard::load_projects':
source => 'puppet:///modules/openstack_project/review.projects.yaml',
}
# Load the superusers into the database
class { '::storyboard::load_superusers':
source => 'puppet:///modules/openstack_project/storyboard/superusers.yaml',
}
}