From 57e79253a969afce1e8751619ce0ea8bd9d39a00 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 | 17 +++++++++++++++++ 2 files changed, 18 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..7021ed5c8d --- /dev/null +++ b/site/profile/manifests/core/node_info.pp @@ -0,0 +1,17 @@ +# @summary +# This class is a vehicle for shipping enc data to puppetdb. +# +# @param site +# @param role +# @param cluster +# @param variant +# @param subvariant +# +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, +) { +}