diff options
author | varac <varacanero@zeromail.org> | 2016-03-08 10:14:05 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2016-03-08 10:14:05 +0100 |
commit | 65d01365ac0e1ab25189ee9b58546e85cd806da4 (patch) | |
tree | 2c7240ab50b0c6f071c56c2fe91fd62d45ad5917 /puppet | |
parent | 4c72ad2a67c4183e957d20972ec8f1d12acc97d2 (diff) |
[bug] Fix inline template with deprecated variable notation
- Resolves: #7948
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_openvpn/manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/site_openvpn/manifests/init.pp b/puppet/modules/site_openvpn/manifests/init.pp index 540262d0..f5eb7fd0 100644 --- a/puppet/modules/site_openvpn/manifests/init.pp +++ b/puppet/modules/site_openvpn/manifests/init.pp @@ -69,7 +69,7 @@ class site_openvpn { # thx to https://blog.kumina.nl/tag/puppet-tips-and-tricks/ # we can do this using an inline_template: $factname_primary_netmask = "netmask_cidr_${::site_config::params::interface}" - $primary_netmask = inline_template('<%= scope.lookupvar(factname_primary_netmask) %>') + $primary_netmask = inline_template('<%= scope.lookupvar(@factname_primary_netmask) %>') # deploy dh keys include site_openvpn::dh_key |