Skip to content

Commit 2ad8389

Browse files
committed
Update tests and minor version
A prior change is sufficiently breaking to our conventional use of this cookbook that I find it warranted to update the minor version rather than the patch version at this point. Also, update tests to check ownership of /var/log/vault as well because why not.
1 parent d8e9250 commit 2ad8389

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
long_description 'Application cookbook for installing and configuring Vault.'
77
issues_url 'https://github.com/johnbellone/vault-cookbook/issues'
88
source_url 'https://github.com/johnbellone/vault-cookbook/'
9-
version '1002.7.14'
9+
version '1002.8.1'
1010

1111
supports 'ubuntu', '>= 12.04'
1212
supports 'redhat', '>= 6.4'

test/fixtures/policies/default.lock.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"revision_id": "59638ac2d01c191df467c767cbf6c12e168b209a47f4bc6677a62c73587a3a81",
2+
"revision_id": "cf88d87c2e217b43768c138a26d14d6f6aa42c90d5f9ef327d76b2da484ab99e",
33
"name": "default",
44
"run_list": [
55
"recipe[hashicorp-vault::default]"
@@ -43,14 +43,14 @@
4343
},
4444
"hashicorp-vault": {
4545
"version": "1002.7.14",
46-
"identifier": "f587e66bf37fb7bcc5f5c0e40691b6c9c5e749d6",
47-
"dotted_decimal_identifier": "69110793017458615.53134954915432081.200977724950998",
46+
"identifier": "43b55d582607b499299d4ab83675d312ac31bea1",
47+
"dotted_decimal_identifier": "19058235955087284.43111426976921205.232077151813281",
4848
"source": "../../..",
4949
"cache_key": null,
5050
"scm_info": {
5151
"scm": "git",
5252
"remote": null,
53-
"revision": "3443293dd9c1e9571e8b49f4ad2d33db00a58c46",
53+
"revision": "8ad3efdd3d6ac6282438455d6d962763419f0368",
5454
"working_tree_clean": false,
5555
"published": true,
5656
"synchronized_remote_branches": [

test/integration/default/inspec/default_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
describe file('/var/log/vault') do
77
it { should be_directory }
8+
it { should be_owned_by 'vault' }
9+
it { should be_grouped_into 'vault' }
810
end
911

1012
describe group('vault') do

0 commit comments

Comments
 (0)