diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-13 10:20:17 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-13 11:15:08 +0100 |
commit | a869ea173f9a1e45f63336ad9d640bf94e5039e3 (patch) | |
tree | 2fd1df3a6c0c34b87499b2606e0cd45faf5e6861 /environments/global/types | |
parent | 56bc60ea5e9ae11872d3e3d388adb7c5ada0c2c9 (diff) | |
download | Puppet-a869ea173f9a1e45f63336ad9d640bf94e5039e3.tar.gz Puppet-a869ea173f9a1e45f63336ad9d640bf94e5039e3.tar.zst Puppet-a869ea173f9a1e45f63336ad9d640bf94e5039e3.zip |
Refactor hiera environments
Diffstat (limited to 'environments/global/types')
-rw-r--r-- | environments/global/types/s1-2.yaml | 9 | ||||
-rw-r--r-- | environments/global/types/vps-ovhssd-1.yaml | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/environments/global/types/s1-2.yaml b/environments/global/types/s1-2.yaml new file mode 100644 index 0000000..496b741 --- /dev/null +++ b/environments/global/types/s1-2.yaml | |||
@@ -0,0 +1,9 @@ | |||
1 | --- | ||
2 | classes: | ||
3 | base_installation: | ||
4 | stage: "setup" | ||
5 | |||
6 | base_installation::system_hostname: "%{ldapvar.self.vars.host.0}" | ||
7 | base_installation::real_hostname: "%{facts.ec2_metadata.hostname}.v.immae.eu" | ||
8 | base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt" | ||
9 | ssl::try_letsencrypt_for_real_hostname: true | ||
diff --git a/environments/global/types/vps-ovhssd-1.yaml b/environments/global/types/vps-ovhssd-1.yaml new file mode 100644 index 0000000..73f7a45 --- /dev/null +++ b/environments/global/types/vps-ovhssd-1.yaml | |||
@@ -0,0 +1,10 @@ | |||
1 | --- | ||
2 | classes: | ||
3 | base_installation: | ||
4 | stage: "setup" | ||
5 | |||
6 | base_installation::system_hostname: "%{ldapvar.self.vars.host.0}" | ||
7 | base_installation::real_hostname: "%{facts.ec2_metadata.hostname}.ovh.net" | ||
8 | base_installation::grub_device: "/dev/sdb" | ||
9 | base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt" | ||
10 | ssl::try_letsencrypt_for_real_hostname: false | ||