Skip to content

Commit 1656ee2

Browse files
author
beergeek
committed
(FM-7277) Fix incorrect reference
This fix updates the provider to test a Symbol, not a String. Without this fix the provider can never list the contents of a 'jceks' store.
1 parent ec21ca6 commit 1656ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/provider/java_ks/keytool.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def exists?
145145
'-keystore', @resource[:target],
146146
'-alias', @resource[:name]
147147
]
148-
cmd += ['-storetype', storetype] if storetype == 'jceks'
148+
cmd += ['-storetype', storetype] if storetype == :jceks
149149
begin
150150
tmpfile = password_file
151151
run_command(cmd, false, tmpfile)

0 commit comments

Comments
 (0)