You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
732 B
Puppet
28 lines
732 B
Puppet
# Install and maintain OpenStack Health.
|
|
# params:
|
|
# source_dir:
|
|
# The directory where the application will be running
|
|
# git_source_repo:
|
|
# Source code repository
|
|
# git_revision:
|
|
# Branch or tag that will be deployed
|
|
class openstack_health(
|
|
$source_dir = '/opt/openstack-health',
|
|
$git_source_repo = 'https://git.openstack.org/openstack/openstack-health',
|
|
$git_revision = 'master',
|
|
) {
|
|
|
|
include ::httpd
|
|
include ::openstack_health::user
|
|
|
|
vcsrepo { $source_dir :
|
|
ensure => latest,
|
|
owner => 'openstack_health',
|
|
group => 'openstack_health',
|
|
provider => git,
|
|
revision => $git_revision,
|
|
source => $git_source_repo,
|
|
require => Class['::openstack_health::user'],
|
|
}
|
|
}
|