From be8f665c68c19387a9ea7396853bea2c6bb15db3 Mon Sep 17 00:00:00 2001 From: 12ww1160 <12ww1160@confdroid.com> Date: Wed, 4 Feb 2026 09:33:45 +0100 Subject: [PATCH] OP#413 initial classes --- manifests/init.pp | 8 ++++++++ manifests/params.pp | 15 +++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 manifests/init.pp create mode 100644 manifests/params.pp diff --git a/manifests/init.pp b/manifests/init.pp new file mode 100644 index 0000000..704e48f --- /dev/null +++ b/manifests/init.pp @@ -0,0 +1,8 @@ +## confdroid_gitea::init.pp +# Module name: confdroid_gitea +# Author: 12ww1160 (12ww1160@confdroid.com) +# @summary initializes the confdroid_gitea Puppet module. +############################################################################## +class confdroid_gitea { + include confdroid_gitea::params +} diff --git a/manifests/params.pp b/manifests/params.pp new file mode 100644 index 0000000..1034504 --- /dev/null +++ b/manifests/params.pp @@ -0,0 +1,15 @@ +## confdroid_gitea::params.pp +# Module name: confdroid_gitea +# Author: 12ww1160 (12ww1160@confdroid.com) +# @summary initializes the confdroid_gitea Puppet module. +############################################################################## +class confdroid_gitea::params ( + +) { +# facts + $fqdn = $facts['networking']['fqdn'] + $domain = $facts['networking']['domain'] + $os_name = $facts['os']['name'] + $os_release = $facts['os']['release']['major'] + +}