From 9617d7967350e1626126252ad40735e0f5113c65 Mon Sep 17 00:00:00 2001 From: William Bradford Clark Date: Mon, 26 Jul 2021 11:19:44 -0400 Subject: [PATCH] Fixes #33687 - Add warning not to directly edit settings.py --- templates/settings.py.erb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/templates/settings.py.erb b/templates/settings.py.erb index 3bc6969b..3ddabd78 100644 --- a/templates/settings.py.erb +++ b/templates/settings.py.erb @@ -1,3 +1,13 @@ +################################################################################ +# File managed by Puppet module: <%= scope['module_name'] %> +################################################################################ +# Not only will edits be overwritten later, there is also a strong +# possibility of breaking the system if changes are made here without making +# required corresponding changes elsewhere. Refer to the documentation used to +# install Pulpcore to determine the safe and persistent way to modify the +# configuration. +################################################################################ + CONTENT_HOST = "<%= scope['pulpcore::servername'] %>" CONTENT_ORIGIN = "https://<%= scope['pulpcore::servername'] %>" SECRET_KEY = "<%= scope['pulpcore::django_secret_key'] %>"