Change the ERB gsub() of custom_gitlab_server_config to escape any ' occuring.