feat: add country/region/environment to motd

This commit is contained in:
2024-03-10 15:48:26 +11:00
parent 5dff24d9b9
commit 428dc910bb
2 changed files with 5 additions and 1 deletions
+2
View File
@@ -7,6 +7,8 @@ class profiles::base::motd (
String $nic = $facts['networking']['primary'],
String $os_name = $facts['os']['name'],
String $os_release = $facts['os']['release']['full'],
String $location = "${facts['country']}-${facts['region']}",
String $env = $facts['environment'],
) {
# Use the regsubst function to remove the 'roles::' prefix from the role name