b7396be571
These parameters have been removed by [1]. [1] 845eb1c9a1ae492675e299d7f1f6e0287842b1c5 Change-Id: I2c57ba9ab63a27b4f502956e47da25b2b9f544c6
33 lines
1.2 KiB
Puppet
33 lines
1.2 KiB
Puppet
Exec { logoutput => 'on_failure' }
|
|
|
|
class { 'mysql::server': }
|
|
class { 'keystone::db::mysql':
|
|
password => 'keystone',
|
|
}
|
|
class { 'keystone::db':
|
|
database_connection => 'mysql://keystone:keystone@127.0.0.1/keystone',
|
|
}
|
|
class { 'keystone':
|
|
debug => true,
|
|
enabled => true,
|
|
# The domain configuration setup at keystone level
|
|
using_domain_config => true,
|
|
}
|
|
class { 'keystone::bootstrap':
|
|
password => 'a_big_secret',
|
|
public_url => 'http://192.168.1.1:5000',
|
|
admin_url => 'http://192.168.1.1:5000',
|
|
}
|
|
|
|
# Creates the /etc/keystone/domains/keystone.my_domain.conf file and
|
|
# notifies keystone service
|
|
keystone_domain_config {
|
|
'my_domain::ldap/url': value => 'ldap://ldapservice.my_org.com';
|
|
'my_domain::ldap/user': value => 'cn=Manager,dc=openstack,dc=org';
|
|
'my_domain::ldap/password': value => 'mysecret';
|
|
'my_domain::ldap/suffix': value => 'dc=openstack,dc=org';
|
|
'my_domain::ldap/group_tree_dn': value => 'ou=UserGroups,dc=openstack,dc=org';
|
|
'my_domain::ldap/user_tree_dn': value => 'ou=Users,dc=openstack,dc=org';
|
|
'my_domain::ldap/user_mail_attribute': value => 'mail';
|
|
}
|