# Info: KCL Postgres task schemas for provisioning (Provisioning)
# Author: JesusPerezLorenzo 
# Release: 0.0.4
# Date: 10-12-2023

schema Postgres:
    name: str = "postgres"
    postgres_version: str
    vers_num:int 
    run_path: str = "/usr/bin/psql"
    lib_path: str = "/var/lib/postgresql"
    data_path: str = "/var/lib/postgresql/${vers_num}/main"
    etc_path: str = "/etc/postgresql"
    config_file: str = "postgresql.conf"
    run_user: str = "postgres"
    run_group: str = "${run_user}"
    run_user_home: str = "/var/lib/postgresql"

