diff --git a/manifests/main/config.pp b/manifests/main/config.pp index 32240b9..b5ed09c 100644 --- a/manifests/main/config.pp +++ b/manifests/main/config.pp @@ -4,6 +4,6 @@ # @summary Class manages the module logic for the prometheus_cd module. ############################################################################## class prometheus_cd::main::config ( - ) inherits prometheus_cd::params { + include prometheus_cd::main::service } diff --git a/manifests/main/dirs.pp b/manifests/main/dirs.pp new file mode 100644 index 0000000..7dd7f55 --- /dev/null +++ b/manifests/main/dirs.pp @@ -0,0 +1,9 @@ +# prometheus_cd::main::dirs.pp +# Module name: prometheus_cd +# Author: Arne Teuke (arne_teuke@confdroid.com) +# @summary Class manages directories for the prometheus_cd module. +############################################################################## +class prometheus_cd::main::dirs ( +) inherits prometheus_cd::params { + require prometheus_cd::main::install +} diff --git a/manifests/main/files.pp b/manifests/main/files.pp new file mode 100644 index 0000000..71f70ca --- /dev/null +++ b/manifests/main/files.pp @@ -0,0 +1,9 @@ +# prometheus_cd::main::files.pp +# Module name: prometheus_cd +# Author: Arne Teuke (arne_teuke@confdroid.com) +# @summary Class manages configuration files for the prometheus_cd module. +############################################################################## +class prometheus_cd::main::files ( +) inherits prometheus_cd::params { + require prometheus_cd::main::dirs +} diff --git a/manifests/main/install.pp b/manifests/main/install.pp new file mode 100644 index 0000000..06110d3 --- /dev/null +++ b/manifests/main/install.pp @@ -0,0 +1,8 @@ +# prometheus_cd::main::install.pp +# Module name: prometheus_cd +# Author: Arne Teuke (arne_teuke@confdroid.com) +# @summary Class install binaries for the prometheus_cd module. +############################################################################## +class prometheus_cd::main::install ( +) inherits prometheus_cd::params { +} diff --git a/manifests/main/service.pp b/manifests/main/service.pp new file mode 100644 index 0000000..1e60029 --- /dev/null +++ b/manifests/main/service.pp @@ -0,0 +1,9 @@ +# prometheus_cd::main::service.pp +# Module name: prometheus_cd +# Author: Arne Teuke (arne_teuke@confdroid.com) +# @summary Class manages the services for the prometheus_cd module. +############################################################################## +class prometheus_cd::main::service ( +) inherits prometheus_cd::params { + require prometheus_cd::main::files +}