-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
Description
I'm now investigating the pgsql schema import and i don;t understand this line in
zabbix/pgsql/schema.sls:
- name: zcat {{ sql_file }} | psql | head -5
it sounds to me like someone was just testing it with the -5 and didn't finish at all. or am i missing something deeper?
also the zcat may not be installed by default, so it should be installed first if wants to be used.
if you're wanting to reuse existing (remote) DB (don't have the permission to create one), postgresql client will be missing too, as it's installed by conf.
i'll test it now more, because i'm not sure it would work with remote DB (it has the variables there, but the errors i was getting looked like they didn't use)