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 /modules/bugzilla-dev/templates | |
| 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 'modules/bugzilla-dev/templates')
| -rwxr-xr-x | modules/bugzilla-dev/templates/localconfig | 2 | ||||
| -rw-r--r-- | modules/bugzilla-dev/templates/params.json | 14 | ||||
| -rwxr-xr-x | modules/bugzilla-dev/templates/webapp_bugzilla.conf | 8 | 
3 files changed, 12 insertions, 12 deletions
diff --git a/modules/bugzilla-dev/templates/localconfig b/modules/bugzilla-dev/templates/localconfig index 2b7d6035..7e9925a5 100755 --- a/modules/bugzilla-dev/templates/localconfig +++ b/modules/bugzilla-dev/templates/localconfig @@ -64,7 +64,7 @@ $db_user = 'bugs';  # If you use apostrophe (') or a backslash (\) in your password, you'll  # need to escape it by preceding it with a '\' character. (\') or (\)  # (It is far simpler to just not use those characters.) -$db_pass = '<%= pgsql_password %>'; +$db_pass = '<%= @pgsql_password %>';  # Sometimes the database server is running on a non-standard port. If that's  # the case for your database server, set this to the port number that your diff --git a/modules/bugzilla-dev/templates/params.json b/modules/bugzilla-dev/templates/params.json index b51b4c00..f6b00aa9 100644 --- a/modules/bugzilla-dev/templates/params.json +++ b/modules/bugzilla-dev/templates/params.json @@ -1,9 +1,9 @@  { -   "LDAPBaseDN" : "ou=People,<%= dc_suffix %>", -   "LDAPbinddn" : "cn=bugzilla-alamut,ou=System Accounts,<%= dc_suffix %>:<%= ldap_password %>", +   "LDAPBaseDN" : "ou=People,<%= @dc_suffix %>", +   "LDAPbinddn" : "cn=bugzilla-alamut,ou=System Accounts,<%= @dc_suffix %>:<%= @ldap_password %>",     "LDAPfilter" : "",     "LDAPmailattribute" : "mail", -   "LDAPserver" : "ldap.<%= domain %>", +   "LDAPserver" : "ldap.<%= @domain %>",     "LDAPstarttls" : "1",     "LDAPuidattribute" : "uid",     "RADIUS_NAS_IP" : "", @@ -49,8 +49,8 @@     "letsubmitterchoosemilestone" : "1",     "letsubmitterchoosepriority" : "1",     "mail_delivery_method" : "SMTP", -   "mailfrom" : "bugzilla-daemon@<%= domain %>", -   "maintainer" : "sysadmin@group.<%= domain %>", +   "mailfrom" : "bugzilla-daemon@<%= @domain %>", +   "maintainer" : "sysadmin@group.<%= @domain %>",     "makeproductgroups" : "0",     "max_search_results" : "10000",     "maxattachmentsize" : "1000", @@ -81,12 +81,12 @@     "smtp_username" : "",     "smtpserver" : "localhost",     "ssl_redirect" : "1", -   "sslbase" : "https://bugs-dev.<%= domain %>/", +   "sslbase" : "https://bugs-dev.<%= @domain %>/",     "strict_isolation" : "0",     "strict_transport_security" : "off",     "timetrackinggroup" : "",     "upgrade_notification" : "latest_stable_release", -   "urlbase" : "http://bugs-dev.<%= domain %>/", +   "urlbase" : "http://bugs-dev.<%= @domain %>/",     "use_mailer_queue" : "0",     "use_see_also" : "1",     "useclassification" : "0", diff --git a/modules/bugzilla-dev/templates/webapp_bugzilla.conf b/modules/bugzilla-dev/templates/webapp_bugzilla.conf index a8f37a00..b8194c00 100755 --- a/modules/bugzilla-dev/templates/webapp_bugzilla.conf +++ b/modules/bugzilla-dev/templates/webapp_bugzilla.conf @@ -11,7 +11,7 @@ path_data_directory =  "/var/lib/bugzilla"  # The duplicates.rdf must be accessible, as it is used by  # duplicates.xul -<Directory <%= path_data_directory %>> +<Directory <%= @path_data_directory %>>      <Files duplicates.rdf>      <IfModule mod_authz_core.c>          # Apache 2.4 @@ -26,7 +26,7 @@ path_data_directory =  "/var/lib/bugzilla"  </Directory>  # The png files locally created locally must be accessible -<Directory <%= path_data_directory %>/webdot> +<Directory <%= @path_data_directory %>/webdot>      <FilesMatch \.png$>      <IfModule mod_authz_core.c>          # Apache 2.4 @@ -40,8 +40,8 @@ path_data_directory =  "/var/lib/bugzilla"      </FilesMatch>  </Directory> -Alias /graphs/ <%= path_data_directory %>/graphs/ -<Directory <%= path_data_directory %>/graphs> +Alias /graphs/ <%= @path_data_directory %>/graphs/ +<Directory <%= @path_data_directory %>/graphs>      <FilesMatch \.png$>      <IfModule mod_authz_core.c>          # Apache 2.4  | 
