pg config on ullmann, pt 1
[mirror/dsa-puppet.git] / modules / roles / manifests / postgresql / server.pp
index fd8f916..3b6dfcb 100644 (file)
@@ -1,9 +1,11 @@
 #
 # postgresql server role
 #
-# @param manage_clusters_hba manage clusters' pg_hba.conf using postgres::cluster.  Eventually should should be true for every host and we can drop the param
+# @param manage_clusters_hba  manage clusters' pg_hba.conf using postgres::cluster.  Eventually should should be true for every host and we can drop the param
+# @param backups              Do backups of the database clusters on this host
 class roles::postgresql::server(
   Variant[Boolean,Array[Integer]] $manage_clusters_hba = false,
+  Boolean $backups = true,
 ) {
   $clusters = $facts['postgresql_clusters']
   $clusters.each |$cluster| {
@@ -21,6 +23,7 @@ class roles::postgresql::server(
       pg_cluster => $cluster_name,
       pg_port    => $port,
       manage_hba => $hba,
+      backups    => $backups,
     }
   }
 }