Commit 5c166337 authored by Nick Thomas's avatar Nick Thomas

Merge branch '52993-ldap-rename_provider-rake-task-broken' into 'master'

Resolve "LDAP rename_provider rake task broken"

Closes #52993

See merge request gitlab-org/gitlab-ce!22582
parents 3788b9c0 75cf7234
---
title: Use gitlab_environment for ldap rake task
merge_request: 22582
author:
type: fixed
namespace :gitlab do namespace :gitlab do
namespace :ldap do namespace :ldap do
desc 'GitLab | LDAP | Rename provider' desc 'GitLab | LDAP | Rename provider'
task :rename_provider, [:old_provider, :new_provider] => :environment do |_, args| task :rename_provider, [:old_provider, :new_provider] => :gitlab_environment do |_, args|
old_provider = args[:old_provider] || old_provider = args[:old_provider] ||
prompt('What is the old provider? Ex. \'ldapmain\': '.color(:blue)) prompt('What is the old provider? Ex. \'ldapmain\': '.color(:blue))
new_provider = args[:new_provider] || new_provider = args[:new_provider] ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment