Clark Boylan f6d93be297 Convince puppet to use proper ethercalc class
Puppet scoping rules are funny and we don't appear to ahve found the
proper 'ethercalc' top level class from withint
::openstack_project::ethercalc. Address this by very explicitly using
class and scoping to ::ethercalc.

Change-Id: I7437b2db7ca91e122f9da47470d131f362c18822
2017-01-25 11:58:51 -08:00

25 lines
825 B
Puppet

class openstack_project::ethercalc (
$vhost_name = $::fqdn,
$ssl_cert_file = '/etc/ssl/certs/ethercalc.openstack.org.pem',
$ssl_key_file = '/etc/ssl/private/ethercalc.openstack.org.key',
$ssl_chain_file = '/etc/ssl/certs/intermediate.pem',
$ssl_cert_file_contents = '',
$ssl_key_file_contents = '',
$ssl_chain_file_contents = '',
) {
class { '::ethercalc': }
class { 'ethercalc::apache':
vhost_name => $vhost_name,
ssl_cert_file => $ssl_cert_file,
ssl_key_file => $ssl_key_file,
ssl_chain_file => $ssl_chain_file,
ssl_cert_file_contents => $ssl_cert_file_contents,
ssl_key_file_contents => $ssl_key_file_contents,
ssl_chain_file_contents => $ssl_chain_file_contents,
}
# TODO(clarkb) Redis backups
include ethercalc::redis
}