X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=3rdparty%2Fmodules%2Fkeystone%2Fexamples%2Fldap_identity.pp;h=f3a578cae246ca7ccf730aa8632f57dc781beaab;hb=71a236efd9f45828d875a0a5fd025108bb1dcada;hp=41272c52f1485fae3ecfa6152e57bddafadeab4d;hpb=52e13a709b5b959cd8995e7fa4f1b226bbe13a87;p=dsa-puppet.git diff --git a/3rdparty/modules/keystone/examples/ldap_identity.pp b/3rdparty/modules/keystone/examples/ldap_identity.pp index 41272c52..f3a578ca 100644 --- a/3rdparty/modules/keystone/examples/ldap_identity.pp +++ b/3rdparty/modules/keystone/examples/ldap_identity.pp @@ -3,7 +3,7 @@ # Ensure this matches what is in LDAP or keystone will try to recreate # the admin user -class { 'keystone::roles::admin': +class { '::keystone::roles::admin': email => 'test@example.com', password => 'ChangeMe', } @@ -11,18 +11,18 @@ class { 'keystone::roles::admin': # You can test this connection with ldapsearch first to ensure it works. # This was tested against a FreeIPA box, you will likely need to change the # attributes to match your configuration. -class { 'keystone:ldap': - identity_driver => 'keystone.identity.backends.ldap.Identity', - url => 'ldap://ldap.example.com:389', - user => 'uid=bind,cn=users,cn=accounts,dc=example,dc=com', - password => 'SecretPass', - suffix => 'dc=example,dc=com', - query_scope => 'sub', - user_tree_dn => 'cn=users,cn=accounts,dc=example,dc=com', - user_id_attribute => 'uid', - user_name_attribute => 'uid', - user_mail_attribute => 'mail', - user_allow_create => 'False', - user_allow_update => 'False', - user_allow_delete => 'False' +class { '::keystone:ldap': + identity_driver => 'keystone.identity.backends.ldap.Identity', + url => 'ldap://ldap.example.com:389', + user => 'uid=bind,cn=users,cn=accounts,dc=example,dc=com', + password => 'SecretPass', + suffix => 'dc=example,dc=com', + query_scope => 'sub', + user_tree_dn => 'cn=users,cn=accounts,dc=example,dc=com', + user_id_attribute => 'uid', + user_name_attribute => 'uid', + user_mail_attribute => 'mail', + user_allow_create => 'False', + user_allow_update => 'False', + user_allow_delete => 'False' }