From 29be428c86660627aaf9f5695d04f200d7ba404d Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Thu, 24 Apr 2025 18:45:54 +0200 Subject: [PATCH] add files and dirs cntrol --- manifests/main/config.pp | 2 +- manifests/main/dirs.pp | 10 ++++++++++ manifests/main/files.pp | 10 ++++++++++ manifests/main/install.pp | 2 +- 4 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 manifests/main/dirs.pp create mode 100644 manifests/main/files.pp diff --git a/manifests/main/config.pp b/manifests/main/config.pp index b83a26c..842f130 100644 --- a/manifests/main/config.pp +++ b/manifests/main/config.pp @@ -6,5 +6,5 @@ class php_cd::main::config ( ) inherits php_cd::params { - include php_cd::main::install + include php_cd::main::files } diff --git a/manifests/main/dirs.pp b/manifests/main/dirs.pp new file mode 100644 index 0000000..865b2b4 --- /dev/null +++ b/manifests/main/dirs.pp @@ -0,0 +1,10 @@ +## php_cd::main::dirs.pp +# Module name: php_cd +# Author: Arne Teuke (arne_teuke@confdroid.com) +# @summary Class manages directory structure +############################################################################## +class php_cd::main::dirs ( + +) inherits php_cd::params { + require php_cd::main::install +} diff --git a/manifests/main/files.pp b/manifests/main/files.pp new file mode 100644 index 0000000..4844096 --- /dev/null +++ b/manifests/main/files.pp @@ -0,0 +1,10 @@ +## php_cd::main::files.pp +# Module name: php_cd +# Author: Arne Teuke (arne_teuke@confdroid.com) +# @summary Class manages file aspects +############################################################################## +class php_cd::main::files ( + +) inherits php_cd::params { + require php_cd::main::dirs +} diff --git a/manifests/main/install.pp b/manifests/main/install.pp index 3a3b06e..a8668be 100644 --- a/manifests/main/install.pp +++ b/manifests/main/install.pp @@ -1,7 +1,7 @@ ## php_cd::main::install.pp # Module name: php_cd # Author: Arne Teuke (arne_teuke@confdroid.com) -# @summary Class manages the module logic +# @summary Class manages installation aspects ############################################################################## class php_cd::main::install (