Added a copy command to move initial data directory files to a custom DATADIR if one is used so starting the service doesnt break Debian systems
Made the copying and populating of an initial data directory follow more Chef conventions
Changed wildcarding to glob
Added missing brackets to Ruby block
Changed wildcarding to glob
Also change the ownership the postgres data dir