diff options
author | Dan Fandrich <danf@mageia.org> | 2024-10-04 19:28:06 -0700 |
---|---|---|
committer | Dan Fandrich <danf@mageia.org> | 2024-10-04 19:28:06 -0700 |
commit | 2c7da66570999dcd21f11f976dc6ec27d820f45c (patch) | |
tree | b97dd9f25df691c66b2be31b658cc6fec638d47e /deployment/common | |
parent | a69863ece1973cf3eae488f30c657b57dfb89779 (diff) | |
download | puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.gz puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.bz2 puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.tar.xz puppet-2c7da66570999dcd21f11f976dc6ec27d820f45c.zip |
Use @ when accessing variables in templates
Access without the @ symbol is the older method and is discouraged.
Diffstat (limited to 'deployment/common')
-rw-r--r-- | deployment/common/templates/i18n | 28 | ||||
-rw-r--r-- | deployment/common/templates/locale.conf | 28 |
2 files changed, 28 insertions, 28 deletions
diff --git a/deployment/common/templates/i18n b/deployment/common/templates/i18n index b85efe78..630be077 100644 --- a/deployment/common/templates/i18n +++ b/deployment/common/templates/i18n @@ -3,18 +3,18 @@ locale = 'en_US.UTF-8' -%> -LC_TELEPHONE=<%= locale %> -LC_CTYPE=<%= locale %> -LANGUAGE=<%= locale %>:<%= locale.split('.')[0] %>:<%= locale.split('.')[0].split('_')[0] %> -LC_MONETARY=<%= locale %> -LC_ADDRESS=<%= locale %> -LC_COLLATE=<%= locale %> -LC_PAPER=<%= locale %> -LC_NAME=<%= locale %> -LC_NUMERIC=<%= locale %> +LC_TELEPHONE=<%= @locale %> +LC_CTYPE=<%= @locale %> +LANGUAGE=<%= @locale %>:<%= @locale.split('.')[0] %>:<%= @locale.split('.')[0].split('_')[0] %> +LC_MONETARY=<%= @locale %> +LC_ADDRESS=<%= @locale %> +LC_COLLATE=<%= @locale %> +LC_PAPER=<%= @locale %> +LC_NAME=<%= @locale %> +LC_NUMERIC=<%= @locale %> SYSFONT=lat0-16 -LC_MEASUREMENT=<%= locale %> -LC_TIME=<%= locale %> -LANG=<%= locale %> -LC_IDENTIFICATION=<%= locale %> -LC_MESSAGES=<%= locale %> +LC_MEASUREMENT=<%= @locale %> +LC_TIME=<%= @locale %> +LANG=<%= @locale %> +LC_IDENTIFICATION=<%= @locale %> +LC_MESSAGES=<%= @locale %> diff --git a/deployment/common/templates/locale.conf b/deployment/common/templates/locale.conf index e9fc2e06..37520558 100644 --- a/deployment/common/templates/locale.conf +++ b/deployment/common/templates/locale.conf @@ -3,18 +3,18 @@ locale = 'en_US.UTF-8' -%> -LC_TELEPHONE=<%= locale %> -LC_CTYPE=<%= locale %> -LANGUAGE=<%= locale %>:<%= locale.split('.')[0] %>:<%= locale.split('.')[0].split('_')[0] %> -LC_MONETARY=<%= locale %> -LC_ADDRESS=<%= locale %> -LC_COLLATE=<%= locale %> -LC_PAPER=<%= locale %> -LC_NAME=<%= locale %> -LC_NUMERIC=<%= locale %> -LC_MEASUREMENT=<%= locale %> -LC_TIME=<%= locale %> -LANG=<%= locale %> -LC_IDENTIFICATION=<%= locale %> -LC_MESSAGES=<%= locale %> +LC_TELEPHONE=<%= @locale %> +LC_CTYPE=<%= @locale %> +LANGUAGE=<%= @locale %>:<%= @locale.split('.')[0] %>:<%= @locale.split('.')[0].split('_')[0] %> +LC_MONETARY=<%= @locale %> +LC_ADDRESS=<%= @locale %> +LC_COLLATE=<%= @locale %> +LC_PAPER=<%= @locale %> +LC_NAME=<%= @locale %> +LC_NUMERIC=<%= @locale %> +LC_MEASUREMENT=<%= @locale %> +LC_TIME=<%= @locale %> +LANG=<%= @locale %> +LC_IDENTIFICATION=<%= @locale %> +LC_MESSAGES=<%= @locale %> |