Why are you trying to put the file to this location. You want to replace file `/etc/postgresql/9.3/main/postgresql.conf` and not what you have specified. It indicates that you did not read and understood template name attribute.