We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aa3f4c commit 0c1c417Copy full SHA for 0c1c417
1 file changed
chef-server-api/lib/chef-server-api.rb
@@ -71,17 +71,6 @@ def self.activate
71
Chef::Log.info('Loading roles')
72
Chef::Role.sync_from_disk_to_couchdb
73
74
- # Create the default WebUI admin user "admin" if not already exists
75
- begin
76
- user = Chef::WebUIUser.load(Chef::Config[:web_ui_admin_user_name])
77
- rescue Chef::Exceptions::CouchDBNotFound => e
78
- user = Chef::WebUIUser.new
79
- user.name = Chef::Config[:web_ui_admin_user_name]
80
- user.set_password(Chef::Config[:web_ui_admin_default_password])
81
- user.admin = true
82
- user.save
83
- end
84
-
85
# Create the signing key and certificate
86
Chef::Certificate.generate_signing_ca
87
0 commit comments