feat: add openldap role
- add basic openldap role - manage certificates for openldap
This commit is contained in:
parent
856a3901ac
commit
e6f243ef60
7
hieradata/roles/infra/auth/openldap.yaml
Normal file
7
hieradata/roles/infra/auth/openldap.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
# additional altnames
|
||||
profiles::pki::vault::alt_names:
|
||||
- ldap.main.unkin.net
|
||||
- ldap.service.consul
|
||||
- ldap.query.consul
|
||||
- "ldap.service.%{facts.country}-%{facts.region}.consul"
|
||||
10
site/roles/manifests/infra/auth/openldap.pp
Normal file
10
site/roles/manifests/infra/auth/openldap.pp
Normal file
@ -0,0 +1,10 @@
|
||||
# a role to deploy an openldap master
|
||||
class roles::infra::auth::openldap {
|
||||
if $facts['firstrun'] {
|
||||
include profiles::defaults
|
||||
include profiles::firstrun::init
|
||||
}else{
|
||||
include profiles::defaults
|
||||
include profiles::base
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user