From 85abd2fdbad83430df4824843764719064afb9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 3 Mar 2018 22:24:19 +0100 Subject: Fetch node informations from LDAP environment, hostname --- environments/integration/data/common.yaml | 25 ++++++++++++++++++++++ .../integration/data/roles/cryptoportfolio.yaml | 7 ++++++ .../integration/data/types/vps-ovhssd-1.yaml | 10 +++++++++ 3 files changed, 42 insertions(+) create mode 100644 environments/integration/data/common.yaml create mode 100644 environments/integration/data/roles/cryptoportfolio.yaml create mode 100644 environments/integration/data/types/vps-ovhssd-1.yaml (limited to 'environments/integration/data') diff --git a/environments/integration/data/common.yaml b/environments/integration/data/common.yaml new file mode 100644 index 0000000..78cce6b --- /dev/null +++ b/environments/integration/data/common.yaml @@ -0,0 +1,25 @@ +--- +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: + - 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/integration/data/roles/cryptoportfolio.yaml b/environments/integration/data/roles/cryptoportfolio.yaml new file mode 100644 index 0000000..7464b3d --- /dev/null +++ b/environments/integration/data/roles/cryptoportfolio.yaml @@ -0,0 +1,7 @@ +--- +classes: + role::cryptoportfolio: ~ +cryptoportfolio::front_version: v0.0.2 +cryptoportfolio::front_sha256: 2ace0197a34f9f130523eecf8a43aa4f411cdca09de33838e074f25a7e1d6c5e +cryptoportfolio::bot_version: v0.2-4-gf70bb85 +cryptoportfolio::bot_sha256: e9850a667e0672cdd0363bb93124b59610c4d67e3ed9908b004a9d15c2276340 diff --git a/environments/integration/data/types/vps-ovhssd-1.yaml b/environments/integration/data/types/vps-ovhssd-1.yaml new file mode 100644 index 0000000..73f7a45 --- /dev/null +++ b/environments/integration/data/types/vps-ovhssd-1.yaml @@ -0,0 +1,10 @@ +--- +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 From a545a4222ee6a4bcdee9c73a8f4abe0e38f1bdad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 4 Mar 2018 19:09:25 +0100 Subject: Upgrade bot version --- environments/integration/data/roles/cryptoportfolio.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'environments/integration/data') diff --git a/environments/integration/data/roles/cryptoportfolio.yaml b/environments/integration/data/roles/cryptoportfolio.yaml index 7464b3d..e55d15b 100644 --- a/environments/integration/data/roles/cryptoportfolio.yaml +++ b/environments/integration/data/roles/cryptoportfolio.yaml @@ -1,7 +1,7 @@ --- classes: role::cryptoportfolio: ~ -cryptoportfolio::front_version: v0.0.2 -cryptoportfolio::front_sha256: 2ace0197a34f9f130523eecf8a43aa4f411cdca09de33838e074f25a7e1d6c5e -cryptoportfolio::bot_version: v0.2-4-gf70bb85 -cryptoportfolio::bot_sha256: e9850a667e0672cdd0363bb93124b59610c4d67e3ed9908b004a9d15c2276340 +cryptoportfolio::front_version: v0.0.2-3-g6200f9a +cryptoportfolio::front_sha256: 69d31251ecd4fcea46d93dfee0184b1171019a765b6744b84f6eec6b10e5818f +cryptoportfolio::bot_version: v0.4-2-g123411c +cryptoportfolio::bot_sha256: c344653c6523ed4902e4e4270740c434b45c87876d827d2a695c6732a99cd59b -- cgit v1.2.3