diff options
| author | Dan Fandrich <danf@mageia.org> | 2026-02-21 20:55:36 -0800 |
|---|---|---|
| committer | Dan Fandrich <danf@mageia.org> | 2026-02-21 21:10:56 -0800 |
| commit | 394f128c52caae23a9024c55cbef043bf7e080ea (patch) | |
| tree | 0d45a4af40cfa5e3a1da8a3f1ea7ffd502bec580 /modules/postgresql/templates | |
| parent | 5b23841245eea3a2ba86dd0544668b5e00eb5b4b (diff) | |
| download | puppet-394f128c52caae23a9024c55cbef043bf7e080ea.tar puppet-394f128c52caae23a9024c55cbef043bf7e080ea.tar.gz puppet-394f128c52caae23a9024c55cbef043bf7e080ea.tar.bz2 puppet-394f128c52caae23a9024c55cbef043bf7e080ea.tar.xz puppet-394f128c52caae23a9024c55cbef043bf7e080ea.zip | |
Use @ when accessing variables in templates
Access without the @ symbol is the older method and is discouraged.
This is the fourth batch of files.
Diffstat (limited to 'modules/postgresql/templates')
| -rw-r--r-- | modules/postgresql/templates/pg_hba.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/postgresql/templates/pg_hba.conf b/modules/postgresql/templates/pg_hba.conf index e4232a4e..379a1ee7 100644 --- a/modules/postgresql/templates/pg_hba.conf +++ b/modules/postgresql/templates/pg_hba.conf @@ -94,7 +94,7 @@ for i in db %> host <%= i %> <%= i %> 127.0.0.1/32 md5 host <%= i %> <%= i %> ::1/128 md5 -hostssl <%= i %> <%= i %> <%= ipaddress %>/32 md5 +hostssl <%= i %> <%= i %> <%= @ipaddress %>/32 md5 hostssl <%= i %> <%= i %> 2a02:2178:2:7::2/128 md5 <% end @@ -106,7 +106,7 @@ for l in lang %> host phpbb_<%= l %> phpbb 127.0.0.1/32 md5 host phpbb_<%= l %> phpbb ::1/128 md5 -hostssl phpbb_<%= l %> phpbb <%= ipaddress %>/32 md5 +hostssl phpbb_<%= l %> phpbb <%= @ipaddress %>/32 md5 hostssl phpbb_<%= l %> phpbb 2a02:2178:2:7::2/128 md5 # temporary, for the forum on friteuse vm hostssl phpbb_<%= l %> phpbb 192.168.122.0/24 md5 |
