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 bc69a7f commit 4dbea11Copy full SHA for 4dbea11
1 file changed
spec/defines/trusted_ca_ca_spec.rb
@@ -31,15 +31,15 @@
31
end
32
33
context 'ca cert' do
34
- case facts[:osfamily]
+ case facts[:os]['family']
35
when 'RedHat'
36
- source = 'puppet:///data/mycert.crt'
37
file = '/etc/pki/ca-trust/source/anchors/mycert.crt'
38
notify = 'Exec[validate /etc/pki/ca-trust/source/anchors/mycert.crt]'
39
- when 'Debian'
40
source = 'puppet:///data/mycert.crt'
+ when 'Debian'
41
file = '/usr/local/share/ca-certificates/mycert.crt'
42
notify = 'Exec[validate /usr/local/share/ca-certificates/mycert.crt]'
+ source = 'puppet:///data/mycert.crt'
43
when 'Suse'
44
if facts[:operatingsystem] == 'SLES'
45
if facts[:operatingsystemmajrelease] == '11'
0 commit comments