Merge pull request 'feat: add country/region/environment to motd' (#134) from neoloc/motd_facts into develop
Reviewed-on: unkinben/puppet-prod#134
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user