From a9e190d0f719d2647a94962b93cfac05e68eb0cf Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Fri, 18 Apr 2025 21:47:50 +0200 Subject: [PATCH] adds basic classes --- manifests/init.pp | 8 ++++++++ manifests/main/config.pp | 10 ++++++++++ manifests/params.pp | 13 +++++++++++++ 3 files changed, 31 insertions(+) create mode 100644 manifests/init.pp create mode 100644 manifests/main/config.pp create mode 100644 manifests/params.pp diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..a75e7aa --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,8 @@ +## postgresql_cd::init.pp +# Module name: postgresql_cd +# Author: Arne Teuke (arne_teuke@confdroid.com) +# @summary Class initializes the postgresql_cd module. +############################################################################## +class postgresql_cd { + include postgresql_cd::params +} diff --git a/manifests/main/config.pp b/manifests/main/config.pp new file mode 100644 index 0000000..bb25999 --- /dev/null +++ b/manifests/main/config.pp @@ -0,0 +1,10 @@ +## postgresql_cd::main::config.pp +# Module name: postgresql_cd +# Author: Arne Teuke (arne_teuke@confdroid.com) +# @summary Class manages logic for the postgresql_cd module. +############################################################################## +class postgresql_cd::main::config ( + +) inherits postgresql_cd::params { + +} diff --git a/manifests/params.pp b/manifests/params.pp new file mode 100644 index 0000000..1d03ca5 --- /dev/null +++ b/manifests/params.pp @@ -0,0 +1,13 @@ +## postgresql_cd::params.pp +# Module name: postgresql_cd +# Author: Arne Teuke (arne_teuke@confdroid.com) +# @summary Class contains all parameters for the postgresql_cd module. +############################################################################## +class postgresql_cd::params ( + +) { + + # includes must be last + include postgresql_cd::main::config + +}