Skip to content

Commit 49347d3

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 8bbefa9 commit 49347d3

File tree

1 file changed

+67
-46
lines changed

1 file changed

+67
-46
lines changed

lib/responses/admin.rb

Lines changed: 67 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,17 @@ module Responses
103103
FETCH_SETTINGS ||= {
104104
"enterprise" => {
105105
"private_mode" => false,
106+
"public_pages" => false,
107+
"subdomain_isolation" => true,
108+
"signup_enabled" => false,
106109
"github_hostname" => "ghe.local",
110+
"identicons_host" => "dotcom",
111+
"http_proxy" => nil,
107112
"auth_mode" => "default",
108-
"storage_mode" => "rootfs",
113+
"expire_sessions" => false,
109114
"admin_password" => nil,
110115
"configuration_id" => 1401777404,
111116
"configuration_run_count" => 4,
112-
"package_version" => "11.10.332",
113117
"avatar" => {
114118
"enabled" => false,
115119
"uri" => ""
@@ -124,34 +128,58 @@ module Responses
124128
"license" => {
125129
"seats" => 0,
126130
"evaluation" => false,
127-
"expire_at" => "2015-04-27T00:00:00-07:00",
128131
"perpetual" => false,
129132
"unlimited_seating" => true,
130133
"support_key" => "ssh-rsa AAAAB3N....",
131-
"ssh_allowed" => true
134+
"ssh_allowed" => true,
135+
"cluster_support" => false,
136+
"expire_at" => "2016-04-27T00:00:00-07:00"
132137
},
133138
"github_ssl" => {
134139
"enabled" => false,
135140
"cert" => nil,
136141
"key" => nil
137142
},
138143
"ldap" => {
139-
"host" => "",
140-
"port" => "",
141-
"base" => [
142-
143-
],
144-
"uid" => "",
145-
"bind_dn" => "",
146-
"password" => "",
144+
"host" => nil,
145+
"port" => 0,
146+
"base" => [],
147+
"uid" => nil,
148+
"bind_dn" => nil,
149+
"password" => nil,
147150
"method" => "Plain",
148-
"user_groups" => [
149-
150-
],
151-
"admin_group" => ""
151+
"search_strategy" => "detect",
152+
"user_groups" => [],
153+
"admin_group" => nil,
154+
"virtual_attribute_enabled" => false,
155+
"recursive_group_search" => false,
156+
"posix_support" => true,
157+
"user_sync_emails" => false,
158+
"user_sync_keys" => false,
159+
"user_sync_interval" => 4,
160+
"team_sync_interval" => 4,
161+
"sync_enabled" => false,
162+
"reconciliation" => {
163+
"user" => nil,
164+
"org" => nil
165+
},
166+
"profile" => {
167+
"uid" => "uid",
168+
"name" => nil,
169+
"mail" => nil,
170+
"key" => nil
171+
}
152172
},
153173
"cas" => {
154-
"url" => ""
174+
"url" => nil
175+
},
176+
"saml" => {
177+
"sso_url" => nil,
178+
"certificate" => nil,
179+
"certificate_path" => nil,
180+
"issuer" => nil,
181+
"idp_initiated_sso" => false,
182+
"disable_admin_demote" => false
155183
},
156184
"github_oauth" => {
157185
"client_id" => "12313412",
@@ -172,53 +200,46 @@ module Responses
172200
"support_address" => "[email protected]",
173201
"noreply_address" => "[email protected]"
174202
},
175-
"dns" => {
176-
"primary_nameserver" => "8.8.8.8",
177-
"secondary_nameserver" => "8.8.4.4"
178-
},
179203
"ntp" => {
180-
"primary_server" => "0.ubuntu.pool.ntp.org",
181-
"secondary_server" => "1.ubuntu.pool.ntp.org"
182-
},
183-
"timezone" => {
184-
"identifier" => "UTC"
185-
},
186-
"device" => {
187-
"path" => "/dev/xyz"
204+
"primary_server" => "0.pool.ntp.org",
205+
"secondary_server" => "1.pool.ntp.org"
188206
},
207+
"timezone" => nil,
189208
"snmp" => {
190209
"enabled" => false,
191210
"community" => ""
192211
},
193-
"rsyslog" => {
212+
"syslog" => {
194213
"enabled" => false,
195-
"server" => "",
196-
"protocol_name" => "TCP"
197-
},
198-
"assets" => {
199-
"storage" => "file",
200-
"bucket" => nil,
201-
"host_name" => nil,
202-
"key_id" => nil,
203-
"access_key" => nil
214+
"server" => nil,
215+
"protocol_name" => "udp"
204216
},
217+
"assets" => nil,
205218
"pages" => {
206219
"enabled" => true
207220
},
208221
"collectd" => {
209222
"enabled" => false,
210-
"server" => "",
211-
"port" => "",
212-
"encryption" => "",
213-
"username" => "foo",
214-
"password" => "bar"
215-
}
223+
"server" => nil,
224+
"port" => 0,
225+
"encryption" => nil,
226+
"username" => nil,
227+
"password" => nil
228+
},
229+
"mapping" => {
230+
"enabled" => true,
231+
"tileserver" => nil,
232+
"basemap" => "company.map-qsz2zrvs",
233+
"token" => nil
234+
},
235+
"load_balancer" => nil
216236
},
217237
"run_list" => [
218-
"role[configure]"
238+
"recipe[enterprise-configure]"
219239
]
220240
}
221241

242+
222243
CHECK_MAINTENANCE_STATUS ||= {
223244
"status" => "scheduled",
224245
"scheduled_time" => "Tuesday, January 22 at 15 => 34 -0800",

0 commit comments

Comments
 (0)