2cec77da86
To meet Ceph requirements and eliminate accidental cascade OSD node failures this commit increases kernel.pid_max parameter during deploy ceph-osd nodes. Also this commit contain some puppet-lint cleanups and validations for this module. Change-Id: I70a64ff7b85229bf0760be266302d9b32039989a Closes-Bug: #1536271 Closes-Bug: #1537084
23 lines
805 B
Puppet
23 lines
805 B
Puppet
#ceph::keystone will configure keystone with ceph parts
|
|
class ceph::keystone (
|
|
$pub_ip = $::ceph::rgw_pub_ip,
|
|
$pub_protocol = 'http',
|
|
$adm_ip = $::ceph::rgw_adm_ip,
|
|
$int_ip = $::ceph::rgw_int_ip,
|
|
$region = 'RegionOne',
|
|
$swift_endpoint_port = $::ceph::swift_endpoint_port,
|
|
) {
|
|
keystone_service {'swift':
|
|
ensure => present,
|
|
type => 'object-store',
|
|
description => 'Openstack Object-Store Service',
|
|
}
|
|
|
|
keystone_endpoint {"${region}/swift":
|
|
ensure => present,
|
|
public_url => "${pub_protocol}://${pub_ip}:${swift_endpoint_port}/swift/v1",
|
|
admin_url => "http://${adm_ip}:${swift_endpoint_port}/swift/v1",
|
|
internal_url => "http://${int_ip}:${swift_endpoint_port}/swift/v1",
|
|
}
|
|
}
|