puppet-ethercalc/spec/acceptance/fixtures/ethercalc.pp
Colleen Murphy 3baf809e4e Add test for ethercalc::apache
Add the ethercalc::apache class to the test fixture and ensure the
service is accessible over port 80. This also corrects a minor
idempotency issue in this class due to the way the ssl-cert package and
the /etc/ssl/private file resources were ordered.

Change-Id: I4cdba5b1881c3e9891ca9f8c2c4dd50ca5662d4e
2018-08-13 17:35:37 +02:00

12 lines
276 B
Puppet

$source_dir = '/opt/openstack-health'
include ethercalc::redis
class { '::ethercalc': }
class { '::ethercalc::apache':
ssl_cert_file => '/etc/ssl/certs/ssl-cert-snakeoil.pem',
ssl_key_file => '/etc/ssl/private/ssl-cert-snakeoil.key',
vhost_name => 'localhost',
}