We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecda7e6 commit 7332d4bCopy full SHA for 7332d4b
test/integration/controls/managed.rb
@@ -5,9 +5,10 @@
5
6
cert_dir = '/etc/ssl/certs/'
7
key_dir = '/etc/ssl/private/'
8
- if os.family == 'debian'
+ case os[:name]
9
+ when 'debian', 'ubuntu'
10
cert_dir = '/usr/local/share/ca-certificates/'
- elsif os.family == 'redhat'
11
+ when 'redhat', 'centos', 'fedora'
12
cert_dir = '/etc/pki/tls/certs/'
13
key_dir = '/etc/pki/tls/private/'
14
end
@@ -56,4 +57,4 @@
56
57
its('content') { should_not match /^3MOCKED CERT AND KEY/ }
58
59
-end
60
+end
0 commit comments