add an ensure, mode, owner and group to the config file