Monty Taylor 3fd190ed4e Move hiera calls into site.pp.
Secret info should be parameters to modules. It makes for easier testing.

Change-Id: I66034387094b2a24c6fae57fec3af1dae3dd1d3a
2012-07-26 18:59:08 -05:00

22 lines
515 B
Puppet

class openstack_project::etherpad(
$etherpad_crt,
$etherpad_key,
$database_password) {
class { 'openstack_project::server':
iptables_public_tcp_ports => [22, 80, 443]
}
include etherpad_lite
class { 'etherpad_lite::nginx':
etherpad_crt => $etherpad_crt,
etherpad_key => $etherpad_key,
}
class { 'etherpad_lite::site':
database_password => $database_password,
}
class { 'etherpad_lite::mysql':
database_password => $database_password,
}
include etherpad_lite::backup
}