aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-10 12:31:32 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 08:02:07 +0200
commit2742958fd69c91c442685be62140f1e29e363b95 (patch)
tree987aee9281ce774c031c40d6626797ad7ec878e9 /modules
parentb5305b5cad5cbb0a2c072b29f2d4dc05126c39d4 (diff)
downloadPuppet-2742958fd69c91c442685be62140f1e29e363b95.tar.gz
Puppet-2742958fd69c91c442685be62140f1e29e363b95.tar.zst
Puppet-2742958fd69c91c442685be62140f1e29e363b95.zip
Move todos to readme.md and add first documentation
Diffstat (limited to 'modules')
-rw-r--r--modules/profile/manifests/postgresql/backup_pgbouncer.pp2
-rw-r--r--modules/profile/manifests/postgresql/ssl.pp2
-rw-r--r--modules/role/manifests/cryptoportfolio.pp1
3 files changed, 1 insertions, 4 deletions
diff --git a/modules/profile/manifests/postgresql/backup_pgbouncer.pp b/modules/profile/manifests/postgresql/backup_pgbouncer.pp
index c82eefd..5fd7861 100644
--- a/modules/profile/manifests/postgresql/backup_pgbouncer.pp
+++ b/modules/profile/manifests/postgresql/backup_pgbouncer.pp
@@ -48,7 +48,7 @@ define profile::postgresql::backup_pgbouncer (
48 content => "${pg_infos[pgbouncer_dbname]} = host=$pg_path$pg_port user=${pg_infos[dbuser]} dbname=${pg_infos[dbname]}", 48 content => "${pg_infos[pgbouncer_dbname]} = host=$pg_path$pg_port user=${pg_infos[dbuser]} dbname=${pg_infos[dbname]}",
49 } 49 }
50 50
51 # FIXME: current pam configuration requires password for postgres 51 # Current pam configuration requires password for postgres
52 # @profile::monitoring::local_service { "Database ${pg_infos[pgbouncer_dbname]} is available in pgbouncer": 52 # @profile::monitoring::local_service { "Database ${pg_infos[pgbouncer_dbname]} is available in pgbouncer":
53 # sudos => { 53 # sudos => {
54 # "naemon-postgresql-database-public" => "naemon ALL=(postgres) NOPASSWD: /usr/bin/psql -c select\ nspname\ from\ pg_catalog.pg_namespace ${pg_infos[pgbouncer_dbname]}" 54 # "naemon-postgresql-database-public" => "naemon ALL=(postgres) NOPASSWD: /usr/bin/psql -c select\ nspname\ from\ pg_catalog.pg_namespace ${pg_infos[pgbouncer_dbname]}"
diff --git a/modules/profile/manifests/postgresql/ssl.pp b/modules/profile/manifests/postgresql/ssl.pp
index 9b0a95c..b809a9d 100644
--- a/modules/profile/manifests/postgresql/ssl.pp
+++ b/modules/profile/manifests/postgresql/ssl.pp
@@ -78,6 +78,4 @@ define profile::postgresql::ssl (
78 content => "ssl = on\nssl_key_file = '$ssl_key'\nssl_cert_file = '$ssl_cert'\n" 78 content => "ssl = on\nssl_key_file = '$ssl_key'\nssl_cert_file = '$ssl_cert'\n"
79 } 79 }
80 } 80 }
81
82 # FIXME: add monitoring for ssl
83} 81}
diff --git a/modules/role/manifests/cryptoportfolio.pp b/modules/role/manifests/cryptoportfolio.pp
index c675e91..8f7bfca 100644
--- a/modules/role/manifests/cryptoportfolio.pp
+++ b/modules/role/manifests/cryptoportfolio.pp
@@ -41,7 +41,6 @@ class role::cryptoportfolio (
41 contain "role::cryptoportfolio::bot" 41 contain "role::cryptoportfolio::bot"
42 } 42 }
43 43
44 # FIXME: restore backup
45 unless empty($front_version) { 44 unless empty($front_version) {
46 contain "role::cryptoportfolio::front" 45 contain "role::cryptoportfolio::front"
47 } 46 }