Change node[:postgresql][:dir] to /etc/postgresql/...