Browse Source

Update "plugin_ldap::controller" class

update "plugin_ldap::controller" class to be sure
domains/keystone.${domain}.conf file is created.

Change-Id: I98ab4d865ecb30993763ee88fa225c61b68b071a
Maksym Yatsenko 3 years ago
parent
commit
439434fd5b

+ 10
- 0
deployment_scripts/puppet/modules/plugin_ldap/manifests/controller.pp View File

@@ -38,6 +38,16 @@ class plugin_ldap::controller {
38 38
     mode   => '755',
39 39
   }
40 40
 
41
+  file { "/etc/keystone/domains/keystone.${domain}.conf":
42
+    ensure  => 'file',
43
+    owner   => 'root',
44
+    group   => 'root',
45
+    mode    => '644',
46
+    require => File['/etc/keystone/domains'],
47
+     }
48
+
49
+  File["/etc/keystone/domains/keystone.${domain}.conf"] -> Keystone_config <||>
50
+
41 51
   keystone_config {
42 52
     "identity/domain_specific_drivers_enabled": value => 'True';
43 53
   }

Loading…
Cancel
Save