Project

General

Profile

Actions

Feature #23577

closed

Allow overriding the path in rake security:generate_token

Added by Ewoud Kohl van Wijngaarden almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Rake tasks
Target version:
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

The path is currently hardcoded to Rails.root/config/initializers/local_secret_token.rb. In production setups we want to store this in /etc/foreman with a symlink Rails.root/config/initializers/local_secret_token.rb so there's no state in /usr. https://github.com/theforeman/foreman-packaging/pull/2143 works around this by creating the file, moving it and then ensuring the symlink. This is cumbersome and making the path configurable would avoid one step.

Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ewoud Kohl van Wijngaarden
  • Pull request https://github.com/theforeman/foreman/pull/5553 added
Actions #2

Updated by Ohad Levy almost 6 years ago

  • translation missing: en.field_release set to 353
Actions #3

Updated by Ewoud Kohl van Wijngaarden almost 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Ewoud Kohl van Wijngaarden over 5 years ago

  • Category set to Rake tasks
  • Triaged set to No
Actions

Also available in: Atom PDF