-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (35 loc) · 937 Bytes
/
docker-compose.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
master:
build: docker-puppet
hostname: puppet
command: "/usr/bin/puppet master --no-daemonize --verbose"
volumes:
- ./config/autosign.conf:/etc/puppet/autosign.conf
- ./cache/puppet:/etc/puppet/environments
- ./cache/hiera:/etc/puppet/hiera
- ./cache/yum/:/var/cache/yum/
# - ./keys/:/root/.ssh/
# - ./config/r10k.yaml:/etc/r10k.yaml
# - ../puppet-jdk_base24:/etc/puppet/environments/production/jdk_base24
# extra_hosts:
# - "test:10.10.10.10"
agent1:
build: docker-puppet
hostname: agent1
command: "/usr/bin/puppet agent --test"
links:
- master:puppet
volumes:
- ./cache/yum:/var/cache/yum
- ./cache/wget:/var/cache/wget
# extra_hosts:
# - "test:10.10.10.10"
agent2:
build: docker-puppet
hostname: agent2
links:
- master:puppet
volumes:
- ./cache/yum:/var/cache/yum
- ./cache/wget:/var/cache/wget
# extra_hosts:
# - "test:10.10.10.10"