From 548061112d2e2627317f9379d2f501fcf3f6ea54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 30 Aug 2017 22:16:39 +0200 Subject: Add LDAP support --- environments/production/data/common.yaml | 8 ++++++++ environments/production/data/types/vps-ovhssd-1.yaml | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'environments') diff --git a/environments/production/data/common.yaml b/environments/production/data/common.yaml index 01bbcac..32e0aa3 100644 --- a/environments/production/data/common.yaml +++ b/environments/production/data/common.yaml @@ -2,7 +2,15 @@ classes: stdlib: ~ +base_installation::ldap_base: "dc=immae,dc=eu" +base_installation::ldap_dn: "cn=%{facts.ec2_metadata.hostname},ou=hosts,dc=immae,dc=eu" +base_installation::ldap_cn: "%{facts.ec2_metadata.hostname}" +base_installation::ldap_server: "ldap.immae.eu" +base_installation::ldap_uri: "ldaps://ldap.immae.eu" +base_installation::puppet_conf_path: "/etc/puppetlabs/puppet" base_installation::puppet_code_path: "/etc/puppetlabs/code" +base_installation::puppet_pass_seed: "/etc/puppetlabs/puppet/password_seed" +base_installation::puppet_ssl_path: "/etc/puppetlabs/ssl" base_installation::system_locales: ["fr_FR.UTF-8", "en_US.UTF-8"] base_installation::system_timezone: "Europe/Paris" base_installation::system_users: diff --git a/environments/production/data/types/vps-ovhssd-1.yaml b/environments/production/data/types/vps-ovhssd-1.yaml index eb4934b..217dd82 100644 --- a/environments/production/data/types/vps-ovhssd-1.yaml +++ b/environments/production/data/types/vps-ovhssd-1.yaml @@ -3,5 +3,6 @@ classes: base_installation: stage: "setup" -base_installation::system_hostname: "new.immae.eu" base_installation::grub_device: "/dev/sdb" +base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt" +base_installation::system_hostname: "new.immae.eu" -- cgit v1.2.3