Puppet Class: cubbystack::neutron::keystone
- Defined in:
- manifests/neutron/keystone.pp
Overview
Class: cubbystack::neutron::keystone
Configures keystone authentication for neutron
Parameters
- settings
-
A hash of key => value settings to go in ap-paste.ini
- config_file
-
The path to api-paste.ini Defaults to /etc/neutron/api-paste.ini
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'manifests/neutron/keystone.pp', line 14
class cubbystack::neutron::keystone (
$settings,
$config_file = '/etc/neutron/api-paste.ini',
) {
## Meta settings and globals
$tags = ['openstack', 'neutron']
# Global file attributes
File {
ensure => present,
owner => 'neutron',
group => 'neutron',
mode => '0640',
tag => $tags,
require => Package['neutron-common'],
}
file { $config_file: }
$settings.each |$setting, $value| {
cubbystack_config { "${config_file}: ${setting}":
value => $value,
tag => $tags,
}
}
}
|