From 722dc6a4a3adfae5399c4e3deb56023ce175bbe2 Mon Sep 17 00:00:00 2001 From: Joshua Hoblitt Date: Thu, 28 Mar 2024 14:28:59 -0700 Subject: [PATCH] (WIP) (profile::core::node_info) fwv --- site/profile/manifests/core/common.pp | 1 + site/profile/manifests/core/node_info.pp | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 site/profile/manifests/core/node_info.pp diff --git a/site/profile/manifests/core/common.pp b/site/profile/manifests/core/common.pp index f13c4d6c50..0768786304 100644 --- a/site/profile/manifests/core/common.pp +++ b/site/profile/manifests/core/common.pp @@ -75,6 +75,7 @@ include profile::core::kernel include profile::core::keytab include profile::core::nm_dispatch + include profile::core::node_info include profile::core::selinux include profile::core::systemd include rsyslog diff --git a/site/profile/manifests/core/node_info.pp b/site/profile/manifests/core/node_info.pp new file mode 100644 index 0000000000..2c10c559b8 --- /dev/null +++ b/site/profile/manifests/core/node_info.pp @@ -0,0 +1,22 @@ +# @summary +# This empty class exists solely as a vehicle for shipping enc data to puppetdb. +# +# Note that the facts hash does not contain enc parameters and they must be +# accessed as top scoped variables. +# +# @param site +# @param role +# @param cluster +# @param variant +# @param subvariant +# +# lint:ignore:top_scope_facts +class profile::core::node_info ( + Optional[String[1]] $site = $::site, + Optional[String[1]] $role = $::role, + Optional[String[1]] $cluster = $::cluster, + Optional[String[1]] $variant = $::variant, + Optional[String[1]] $subvariant = $::subvariant, +) { +# lint:endignore +}