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'] + +}