-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.snc
34 lines (32 loc) · 849 Bytes
/
config.snc
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
extends:
- src: /tmp/examples/vim.snc
packages:
- name: vault
binaries:
- name: vault
mode: 0755
src: https://releases.hashicorp.com/vault/0.10.0/vault_0.10.0_linux_amd64.zip
src_hash: a6b4b6db132f3bbe6fbb77f76228ffa45bd55a5a1ab83ff043c2c665c3f5a744
format: zip
files:
- path: /etc/vault/config.hcl
mode: 0700
content: |
storage "file" {
path = "/mnt/vault/data"
}
listener "tcp" {
address = "0.0.0.0:8200"
tls_disable = 1
}
disable_mlock = "true"
services:
- binary: vault
args:
- "server"
- "-config /etc/vault/config.hcl"
inits:
- type: openrc
content: vault
- type: command
content: echo vault is installed.