Files
securityonion/salt/telegraf
Mike Reeves b3fbd5c7a4 Use Go-template placeholders and shell-guarded CREATE DATABASE
- Telegraf's outputs.postgresql plugin uses Go text/template syntax,
  not uppercase tokens. The {TABLE}/{COLUMNS}/{TABLELITERAL} strings
  were passed through to Postgres literally, producing syntax errors
  on every metric's first write. Switch to {{ .table }}, {{ .columns }},
  and {{ .table|quoteLiteral }} so partitioned parents and the partman
  create_parent() call succeed.
- Replace the \gexec "CREATE DATABASE ... WHERE NOT EXISTS" idiom in
  both init-users.sh and telegraf_users.sls with an explicit shell
  conditional. The prior idiom occasionally fired CREATE DATABASE even
  when so_telegraf already existed, producing duplicate-key failures.
2026-04-17 14:55:13 -04:00
..
2026-03-06 15:45:36 -05:00
2023-05-01 15:21:31 -04:00
2026-03-20 09:19:22 -04:00
2023-05-11 12:14:30 -04:00
2026-03-18 10:38:15 -04:00
2023-05-11 12:12:25 -04:00
2026-03-06 15:45:36 -05:00
2026-03-19 15:12:47 -04:00
2023-05-11 12:12:25 -04:00
2026-03-16 15:57:15 -04:00