From a869ea173f9a1e45f63336ad9d640bf94e5039e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 13 Mar 2018 10:20:17 +0100 Subject: Refactor hiera environments --- environments/production/data/common.yaml | 26 ---------------------- .../production/data/roles/cryptoportfolio.yaml | 8 ------- environments/production/data/types/s1-2.yaml | 9 -------- .../production/data/types/vps-ovhssd-1.yaml | 10 --------- 4 files changed, 53 deletions(-) delete mode 100644 environments/production/data/common.yaml delete mode 100644 environments/production/data/roles/cryptoportfolio.yaml delete mode 100644 environments/production/data/types/s1-2.yaml delete mode 100644 environments/production/data/types/vps-ovhssd-1.yaml (limited to 'environments/production/data') diff --git a/environments/production/data/common.yaml b/environments/production/data/common.yaml deleted file mode 100644 index 1b4f38d..0000000 --- a/environments/production/data/common.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -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" diff --git a/environments/production/data/roles/cryptoportfolio.yaml b/environments/production/data/roles/cryptoportfolio.yaml deleted file mode 100644 index 014df5a..0000000 --- a/environments/production/data/roles/cryptoportfolio.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -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}" diff --git a/environments/production/data/types/s1-2.yaml b/environments/production/data/types/s1-2.yaml deleted file mode 100644 index 496b741..0000000 --- a/environments/production/data/types/s1-2.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -classes: - base_installation: - stage: "setup" - -base_installation::system_hostname: "%{ldapvar.self.vars.host.0}" -base_installation::real_hostname: "%{facts.ec2_metadata.hostname}.v.immae.eu" -base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt" -ssl::try_letsencrypt_for_real_hostname: true diff --git a/environments/production/data/types/vps-ovhssd-1.yaml b/environments/production/data/types/vps-ovhssd-1.yaml deleted file mode 100644 index 73f7a45..0000000 --- a/environments/production/data/types/vps-ovhssd-1.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -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 -- cgit v1.2.3