Skip to content

Commit

Permalink
Increase the secret key size to 50 chars
Browse files Browse the repository at this point in the history
This is recommended by Django and generates a warning about this when
doing production checks. Since it's using cached data, this doesn't
affect upgrading users.
  • Loading branch information
ekohl authored and ehelms committed Dec 10, 2020
1 parent 485fea4 commit 4ca779c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
Optional[Stdlib::Absolutepath] $postgresql_db_ssl_cert = undef,
Optional[Stdlib::Absolutepath] $postgresql_db_ssl_key = undef,
Optional[Stdlib::Absolutepath] $postgresql_db_ssl_root_ca = undef,
String $django_secret_key = extlib::cache_data('pulpcore_cache_data', 'secret_key', extlib::random_password(32)),
String $django_secret_key = extlib::cache_data('pulpcore_cache_data', 'secret_key', extlib::random_password(50)),
Integer[0] $redis_db = 8,
Stdlib::Fqdn $servername = $facts['networking']['fqdn'],
Array[Stdlib::Absolutepath] $allowed_import_path = ['/var/lib/pulp/sync_imports'],
Expand Down

0 comments on commit 4ca779c

Please sign in to comment.