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/mga_buildsystem | |
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/mga_buildsystem')
-rw-r--r-- | deployment/mga_buildsystem/manifests/config.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deployment/mga_buildsystem/manifests/config.pp b/deployment/mga_buildsystem/manifests/config.pp index 6b7ceb2b..7c5f9cc3 100644 --- a/deployment/mga_buildsystem/manifests/config.pp +++ b/deployment/mga_buildsystem/manifests/config.pp @@ -617,9 +617,9 @@ class mga_buildsystem::config { } $checks_tag_options = { 'tags' => { - 'release' => inline_template("^[^~]*<%= std_macros['distsuffix'] %>\\d+"), - 'distribution' => inline_template("^<%= std_macros['distribution'] %>"), - 'vendor' => inline_template("^<%= std_macros['vendor'] %>$"), + 'release' => inline_template("^[^~]*<%= @std_macros['distsuffix'] %>\\d+"), + 'distribution' => inline_template("^<%= @std_macros['distribution'] %>"), + 'vendor' => inline_template("^<%= @std_macros['vendor'] %>$"), }, } class { 'buildsystem::var::youri': |