forked from scoopex/puppet-tomcat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.kitchen.yml
89 lines (84 loc) · 2.8 KB
/
.kitchen.yml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
driver:
provision: true
provisioner:
name: puppet_apply
manifests_path: manifests
manifest: local.pp
modules_path: modules
hiera_data_path: data
hiera_deep_merge: true
puppet_verbose: true
puppet_debug: false
require_chef_for_busser: false
require_puppet_repo: false
custom_options: '--show_diff'
verify_host_key: false
transport:
name: sftp
busser:
ruby_bindir: /usr/bin
platforms:
# vagrant automatically generates a hostname, if that exceeds 64 characters vbox fails, see bug #6
- name: ubuntu18-tomcat
driver_plugin: vagrant
driver_config:
customize:
audio: "none"
driver:
vagrantfile_erb: vagrantfiles/Vagrantfile-debianoid.erb
box: ubuntu/bionic64
box_url: https://app.vagrantup.com/ubuntu/boxes/bionic64
synced_folders:
- ['./files', '/tmp/files']
network:
- ["forwarded_port", {guest: 10080, host: 10080}]
- name: debian-tomcat
driver_plugin: vagrant
driver_config:
customize:
audio: "none"
driver:
vagrantfile_erb: vagrantfiles/Vagrantfile-debianoid.erb
box: debian/contrib-stretch64
box_url: https://app.vagrantup.com/debian/boxes/contrib-stretch64
network:
- ["forwarded_port", {guest: 20080, host: 10080}]
# vagrant automatically generates a hostname, if that exceeds 64 characters vbox fails, see bug #6
- name: centos7-tomcat
driver_plugin: vagrant
driver_config:
customize:
audio: "none"
driver:
vagrantfile_erb: vagrantfiles/Vagrantfile-centos.erb
box: centos/7
box_url: https://app.vagrantup.com/centos/boxes/7
network:
- ["forwarded_port", {guest: 30080, host: 10080}]
- name: ubuntu-docker-tomcat
driver_plugin: docker
driver_config:
# dockerfile: Dockerfile
image: ubuntu:16.04
# forward:
# - 8080:80
# - 8443:443
# - 9080:8080
privileged: true
remove_images: <%= ENV['KITCHEN_REMOVE_IMAGES'] || false %>
require_chef_omnibus: false
use_cache: <%= ENV['KITCHEN_USE_CACHE'] || true %>
use_sudo: false
volume: /sys/fs/cgroup
provision_command:
- apt-get update
- apt-get install gem ruby openssl -y
- openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/localtest.key -out /etc/ssl/localtest.crt -subj "/C=DE/ST=Town/L=Stuttgart/O=BAR/OU=FOO/CN=IT"
- mkdir -p /etc/foo-ssl/star_foobar_net/
- ln -s /etc/ssl/localtest.key /etc/foo-ssl/star_foobar_net/star_foobar_net.key
- ln -s /etc/ssl/localtest.crt /etc/foo-ssl/star_foobar_net/star_foobar_net.crt
- ln -s /etc/ssl/localtest.crt /etc/foo-ssl/star_foobar_net/star_foobar_net.ca-bundle
- ln -s /etc/ssl/localtest.crt /etc/foo-ssl/star_foobar_net/star_foobar_net.pem
suites:
- name: default