---
+lookup_options:
+ base_installation::mounts:
+ merge: unique
+ classes:
+ merge: deep
+ base_installation::system_users:
+ merge: unique
+
classes:
stdlib: ~
base_installation::ldap_cn: "%{facts.ec2_metadata.hostname}"
base_installation::ldap_server: "ldap.immae.eu"
base_installation::ldap_uri: "ldaps://ldap.immae.eu"
+# FIXME: get all mounts without needing that hack?
+base_installation::mounts:
+ - "%{facts.ldapvar.self.vars.mounts.0}"
+ - "%{facts.ldapvar.self.vars.mounts.1}"
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"
--- /dev/null
+---
+classes:
+ role::cryptoportfolio: ~
+cryptoportfolio::slack_webhook: "%{ldapvar.self.vars.cf_slack_webhook.0}"
--- /dev/null
+---
+version: 5
+
+defaults:
+ datadir: .
+ data_hash: yaml_data
+
+hierarchy:
+ - name: "Initialization variables"
+ path: "/root/puppet_variables.json"
+
+ - name: "Per-role environment data"
+ mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]
+
+ - name: "Per-role global data"
+ mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]
+ datadir: ../global
+
+ - name: "Per-type environment data"
+ path: "types/%{facts.ec2_metadata.instance-type}.yaml"
+
+ - name: "Per-type global data"
+ path: "types/%{facts.ec2_metadata.instance-type}.yaml"
+ datadir: ../global
+
+ - name: "Common environment data"
+ path: "common.yaml"
+
+ - name: "Common global data"
+ path: "common.yaml"
+ datadir: ../global
+
+++ /dev/null
----
-version: 5
-
-defaults:
- datadir: data
- data_hash: yaml_data
-
-hierarchy:
- - name: "Initialization variables"
- path: "/root/puppet_variables.json"
-
- - name: "Per-role data"
- mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]
-
- - name: "Per-type data"
- path: "types/%{facts.ec2_metadata.instance-type}.yaml"
-
- - name: "Common data"
- path: "common.yaml"
--- /dev/null
+../hiera.yaml
\ No newline at end of file
---
-classes:
- role::cryptoportfolio: ~
cryptoportfolio::front_version: v0.0.2-3-g6200f9a
cryptoportfolio::front_sha256: 69d31251ecd4fcea46d93dfee0184b1171019a765b6744b84f6eec6b10e5818f
cryptoportfolio::bot_version: v0.5-8-g34eb08f
cryptoportfolio::bot_sha256: f5b99c4a1cc4db0228f757705a5a909aa301e42787bc5842f8ba442fec0d3fd1
-cryptoportfolio::slack_webhook: "%{ldapvar.self.vars.cf_slack_webhook.0}"
+++ /dev/null
----
-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::mounts: "%{alias('facts.ldapvar.self.vars.mounts')}"
-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:
- - userid: 1000
- username: "immae"
- groups: ["wheel"]
- keys:
- - host: "immae.eu"
- key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQDi5PgLBwMRyRwzJPnSgUyRAuB9AAxMijsw1pR/t/wmxQne1O5fIPOleHx+D8dyZbwm+XkzlcJpgT0Qy3qC9J8BPhshJvO/tA/8CI/oS/FE0uWsyACH1DMO2dk4gRRZGSE9IuzDMRPlnfZ3n0tdsPzzv3GH4It/oPIgsvkTowKztGLQ7Xmjr5BxzAhXcIQymqA0U3XWHSdWvnSRDaOFG0PDoVMS85IdwlviVKLnV5Sstb4NC/P28LFfgvW8DO/XrOqujgDomqTmR41dK/AyrGGOb2cQUMO4l8Oa+74aOyKaB61rr/rJkr+wCbEttkTvgFa6zZygSk3edfiWE2rgn4+v"
- key_type: "ssh-rsa"
-xmr_stak::mining_pool: "pool.minexmr.com:7777"
-xmr_stak::wallet: "44CA8TxTFYbQqN2kLyk8AnB6Ghz4mcbGpYC2EyXW7A8H9QspvWnTjDn39XUZDPrFwPa5JNwt4TmAxcooPWv4SaJqL87Bcdo"
+++ /dev/null
----
-classes:
- base_installation:
- stage: "setup"
-
-base_installation::system_hostname: "%{ldapvar.self.vars.host.0}"
-base_installation::real_hostname: "%{facts.ec2_metadata.hostname}.ovh.net"
-base_installation::grub_device: "/dev/sdb"
-base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt"
-ssl::try_letsencrypt_for_real_hostname: false
+++ /dev/null
----
-version: 5
-
-defaults:
- datadir: data
- data_hash: yaml_data
-
-hierarchy:
- - name: "Initialization variables"
- path: "/root/puppet_variables.json"
-
- - name: "Per-role data"
- mapped_paths: [ldapvar.self.vars.roles, role, "roles/%{role}.yaml"]
-
- - name: "Per-type data"
- path: "types/%{facts.ec2_metadata.instance-type}.yaml"
-
- - name: "Common data"
- path: "common.yaml"
--- /dev/null
+../hiera.yaml
\ No newline at end of file
---
-classes:
- role::cryptoportfolio: ~
cryptoportfolio::front_version: v0.0.2-3-g6200f9a
cryptoportfolio::front_sha256: 69d31251ecd4fcea46d93dfee0184b1171019a765b6744b84f6eec6b10e5818f
cryptoportfolio::bot_version: v0.5.1
cryptoportfolio::bot_sha256: 733789711365b2397bd996689af616a6789207d26c71a31ad1af68620b267d54
-cryptoportfolio::slack_webhook: "%{ldapvar.self.vars.cf_slack_webhook.0}"