Skip to content

Commit 05c50f7

Browse files
Merge pull request #21 from dafyddj/latest_salt
Bump vault/salt versions
2 parents 4971c05 + df2d0ae commit 05c50f7

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

.kitchen.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ verifier:
99

1010
provisioner:
1111
name: salt_solo
12-
salt_install: bootstrap
13-
salt_bootstrap_url: https://bootstrap.saltstack.com
14-
salt_bootstrap_options: -p git -p curl stable 2016.11
1512
salt_version: latest
1613
log_level: debug
1714
require_chef: false

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ To use it, just include *vault.server* in your *top.sls*, and configure it using
4242
service:
4343
type: systemd
4444

45+
Issues
46+
======
47+
48+
Vault `v0.10.0 <https://github.com/hashicorp/vault/blob/master/CHANGELOG.md#0100-april-10th-2018>`_ introduces a revamped versioned kv backend (version 2), with a breaking change in the paths used to read/write data. This backend is enabled by default when dev mode is enabled.
49+
50+
The Salt execution modules are not compatible with this new backend, therefore if you intend to access Vault in dev mode using the Salt modules, it's suggested to use an outdated, but compatible version of Vault by setting a pillar value e.g. ``version: 0.9.6``.
51+
4552
Testing
4653
=======
4754

test/integration/dev_server_systemd/vault_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
describe command('journalctl -u vault') do
3737
its(:exit_status) { should eq 0 }
3838
its(:stderr) { should be_empty }
39-
its(:stdout) { should match(/WARNING: Dev mode is enabled!/) }
39+
its(:stdout) { should match(/WARNING! dev mode is enabled!/) }
4040
end
4141

test/integration/dev_server_upstart_s3/vault_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@
5555

5656
describe file('/var/log/vault.log') do
5757
it { should be_a_file }
58-
its(:content) { should match(/WARNING: Dev mode is enabled!/) }
58+
its(:content) { should match(/WARNING! dev mode is enabled!/) }
5959
end
6060

vault/defaults.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
vault:
2-
version: 0.9.1
2+
version: 0.11.2
33
listen_protocol: tcp
44
listen_port: 8200
55
listen_address: 0.0.0.0
66
tls_disable: 0
7-
service: upstart
87
tls_cert_file: {}
98
tls_key_file: {}
109
default_lease_ttl: 24h

0 commit comments

Comments
 (0)