From 81ec6f92f400f667c2ce9d879396bfff00ec5bb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sun, 15 Jul 2018 11:25:27 +0200 Subject: Add file store role --- environments/global/roles/file_store.yaml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 environments/global/roles/file_store.yaml (limited to 'environments') diff --git a/environments/global/roles/file_store.yaml b/environments/global/roles/file_store.yaml new file mode 100644 index 0000000..c0912e2 --- /dev/null +++ b/environments/global/roles/file_store.yaml @@ -0,0 +1,4 @@ +--- +classes: + role::file_store: ~ +letsencrypt::hosts: "%{lookup('base_installation::system_hostname')}" -- cgit v1.2.3 From a7b985dd3cc4af68875733eb135335a31504f472 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Fri, 17 Aug 2018 12:51:33 +0200 Subject: Add cat_files report to notify of important changes --- environments/global/common.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'environments') diff --git a/environments/global/common.yaml b/environments/global/common.yaml index 3cc75fa..97bf196 100644 --- a/environments/global/common.yaml +++ b/environments/global/common.yaml @@ -21,8 +21,8 @@ base_installation::ldap_dn: "cn=%{facts.ec2_metadata.hostname},ou=hosts,dc=immae 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::puppet_conf_path: "/etc/puppetlabs/puppet" +base_installation::puppet_notifies_path: "/etc/puppetlabs/notifies" 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" @@ -30,6 +30,7 @@ base_installation::system_locales: ["fr_FR.UTF-8", "en_US.UTF-8"] base_installation::system_timezone: "Europe/Paris" base_installation::system_users: [] # Fetched via ldap base_installation::notify_xmpp: {} +# FIXME: get all mounts without needing that hack? profile::fstab::mounts: - "%{facts.ldapvar.self.vars.mounts.0}" - "%{facts.ldapvar.self.vars.mounts.1}" -- cgit v1.2.3 From 3c90c9020fc4e0257fa4c73f14e609e3559b3771 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Sat, 18 Aug 2018 14:02:17 +0200 Subject: Move private values --- environments/global/common.yaml | 5 +---- environments/global/roles/cryptoportfolio.yaml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'environments') diff --git a/environments/global/common.yaml b/environments/global/common.yaml index 97bf196..2f2db35 100644 --- a/environments/global/common.yaml +++ b/environments/global/common.yaml @@ -30,10 +30,7 @@ base_installation::system_locales: ["fr_FR.UTF-8", "en_US.UTF-8"] base_installation::system_timezone: "Europe/Paris" base_installation::system_users: [] # Fetched via ldap base_installation::notify_xmpp: {} -# FIXME: get all mounts without needing that hack? -profile::fstab::mounts: - - "%{facts.ldapvar.self.vars.mounts.0}" - - "%{facts.ldapvar.self.vars.mounts.1}" +profile::fstab::mounts: [] profile::xmr_stak::mining_pool: "" profile::xmr_stak::wallet: "" profile::mail::mailhub: "" # Fetched via ldap diff --git a/environments/global/roles/cryptoportfolio.yaml b/environments/global/roles/cryptoportfolio.yaml index 138da7a..661af2d 100644 --- a/environments/global/roles/cryptoportfolio.yaml +++ b/environments/global/roles/cryptoportfolio.yaml @@ -6,7 +6,7 @@ role::cryptoportfolio::user: "cryptoportfolio" role::cryptoportfolio::group: "cryptoportfolio" role::cryptoportfolio::home: "/home/cryptoportfolio" role::cryptoportfolio::env: "prod" -role::cryptoportfolio::webhook_url: "%{ldapvar.self.vars.cf_slack_webhook.0}" +role::cryptoportfolio::webhook_url: "" role::cryptoportfolio::pg_db: "cryptoportfolio" role::cryptoportfolio::pg_user: "cryptoportfolio" role::cryptoportfolio::web_host: "%{lookup('base_installation::system_hostname')}" -- cgit v1.2.3