-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.kitchen.yml
More file actions
49 lines (45 loc) · 1.22 KB
/
.kitchen.yml
File metadata and controls
49 lines (45 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
driver:
name: vagrant
provisioner:
name: chef_zero
product_name: chef
product_version: latest
channel: stable
install_strategy: once
always_update_cookbooks: true
#log_level: info
verifier:
name: inspec
platforms:
- name: centos-7
suites:
- name: default
driver:
vm_hostname: jupyterhub
customize:
memory: 4096
cpus: 2
natdnshostresolver1: "on"
network:
- ["forwarded_port", {guest: 8000, host: 8000, auto_correct: true}] # jupyterhub http
- ["forwarded_port", {guest: 8443, host: 8443, auto_correct: true}] # jupyterhub https
- ["forwarded_port", {guest: 8081, host: 8081, auto_correct: true}] # jupyterhub rest api
run_list:
- recipe[yum-epel]
- recipe[jupyterhub-chef::nodejs]
- recipe[python-chef::python2]
- recipe[python-chef::python3]
- recipe[python-chef::virtualenv]
- recipe[jupyterhub-chef::anaconda]
- recipe[jupyterhub-chef::jupyterhub]
- recipe[jupyterhub-chef::jupyter]
verifier:
inspec_tests:
- test/integration/default
attributes:
dev_mode: true
jupyterhub:
config:
jupyterhub_config:
Spawner.notebook_dir: '~/'