e091e45134
This is a initial version of how to deploy OpenStack-Health. This script provisions openstack-health as it is today. This will be a foundation for future deployments, once the application becomes more mature. Change-Id: Id4ef45bba0db28b95d7fb72799cb86ab4db6343b Co-Authored-By: Bruno Tavares <btavare@thoughtworks.com> Co-Authored-By: Caio Carrara <ccarrara@thoughtworks.com>
26 lines
608 B
Puppet
26 lines
608 B
Puppet
# == Class: gerrit::user
|
|
#
|
|
class openstack_health::user {
|
|
group { 'openstack_health':
|
|
ensure => present,
|
|
}
|
|
|
|
user { 'openstack_health':
|
|
ensure => present,
|
|
comment => 'Openstack-Health User',
|
|
home => '/home/openstack_health',
|
|
gid => 'openstack_health',
|
|
shell => '/bin/bash',
|
|
membership => 'minimum',
|
|
require => Group['openstack_health'],
|
|
}
|
|
|
|
file { '/home/openstack_health':
|
|
ensure => directory,
|
|
owner => 'openstack_health',
|
|
group => 'openstack_health',
|
|
mode => '0644',
|
|
require => User['openstack_health'],
|
|
}
|
|
}
|