Add active users to gitlab:check

This commit is contained in:
Dmitriy Zaporozhets 2015-03-10 12:03:04 -07:00
parent 82bb3ec33d
commit ae7e380632
1 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,7 @@ namespace :gitlab do
check_redis_version
check_ruby_version
check_git_version
check_active_users
finished_checking "GitLab"
end
@ -781,6 +782,10 @@ namespace :gitlab do
end
end
def check_active_users
puts "Active users: #{User.active.count}"
end
def omnibus_gitlab?
Dir.pwd == '/opt/gitlab/embedded/service/gitlab-rails'
end