File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,9 @@ class { '::vault':
107
107
describe port ( 8200 ) do
108
108
it { is_expected . to be_listening . on ( '127.0.0.1' ) . with ( 'tcp' ) }
109
109
end
110
+ describe command ( 'vault version' ) do
111
+ its ( :stdout ) { is_expected . to match %r{v0\. 10\. 0} }
112
+ end
110
113
end
111
114
112
115
# we will test if we can update vault to another version
@@ -132,5 +135,16 @@ class { 'vault':
132
135
apply_manifest ( pp , catch_failures : true )
133
136
apply_manifest ( pp , catch_changes : true )
134
137
end
138
+ describe service ( 'vault' ) do
139
+ it { is_expected . to be_enabled }
140
+ it { is_expected . to be_running }
141
+ end
142
+
143
+ describe port ( 8200 ) do
144
+ it { is_expected . to be_listening . on ( '127.0.0.1' ) . with ( 'tcp' ) }
145
+ end
146
+ describe command ( 'vault version' ) do
147
+ its ( :stdout ) { is_expected . to match %r{v0\. 10\. 1} }
148
+ end
135
149
end
136
150
end
You can’t perform that action at this time.
0 commit comments