-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDeployfile
34 lines (34 loc) · 1.04 KB
/
Deployfile
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
xld {
scope(
forInfrastructure: 'Infrastructure/hosts'
) {
infrastructure('vagrant.1', 'overthere.SshHost') {
os = com.xebialabs.overthere.OperatingSystemFamily.UNIX
managedByVault = true
vaultServer = ref('Configuration/vault dev')
address = '127.0.0.1'
port = 2222
username = 'vagrant'
password = 'vagrant'
}
infrastructure('vagrant.2', 'overthere.SshHost') {
os = com.xebialabs.overthere.OperatingSystemFamily.UNIX
managedByVault = true
vaultServer = ref('Configuration/vault dev')
address = '127.0.0.1'
port = 2222
username = 'vagrant'
password = 'vagrant'
}
}
scope(
forEnvironments: 'Environments/vault-demo'
) {
environment('dev') {
members = [
ref('Infrastructure/hosts/vagrant.1'),
ref('Infrastructure/hosts/vagrant.2')
]
}
}
}